Function permute

Source
pub fn permute(x: &Tensor, d: impl Dims) -> Tensor