Function is_contiguous

Source
pub fn is_contiguous(shape: &[usize], strides: &[usize]) -> bool
Expand description

Checks if the tensor associated with the given shape and strides is contiguous.