is_contiguous
- TensorInfo.is_contiguous()
Checks if the tensor data associated with the current
TensorInfohas a contiguous memory layout.- Returns:
is_contiguous -- Returns
trueif the tensor has a contiguous memory layout.- Return type:
bool
Checks if the tensor data associated with the current
TensorInfo has a contiguous memory layout.
is_contiguous -- Returns true if the tensor has a contiguous memory layout.
bool