pub fn permute_native_tensor(
tensor: &Tensor,
perm: &[usize],
) -> Result<Tensor, BridgeError>Expand description
Permute axes of a native tensor.
ยงErrors
Returns an error when the native permutation fails (a shape or index mismatch, or a backend failure).