oneflow.Tensor.is_contiguous

Tensor.is_contiguous() → bool

Returns True if self tensor is contiguous in memory.