'Returns whether the memory of the tensor is contiguous.
Return
bool: Whether the memory of the tensor is contiguous.'

@property
@memoize_method
def is_contiguous(self):

    return ((not self.take_array) and (self.strides == _contiguous_strides(self.shape)))
