pub fn reshape_col_major_native_tensor(
tensor: &Tensor,
logical_dims: &[usize],
) -> Result<Tensor>Expand description
Reshape a native tensor without changing its column-major linearization.
ยงErrors
Returns an error when the native tensor cannot be reshaped to the requested dimensions (a shape mismatch) or the backend fails.