pub fn is_contiguous(shape: &[usize], strides: &[usize]) -> bool
Checks if the tensor associated with the given shape and strides is contiguous.