pub fn permute_native_tensor(tensor: &Tensor, perm: &[usize]) -> Result<Tensor>
Permute axes of a native tensor.