pub fn native_tensor_primal_to_diag_c64( tensor: &Tensor, ) -> Result<Vec<Complex64>>
Extract the diagonal payload from a complex native tensor.