Function tvm::ffi::IsContiguous#
Defined in File tensor.h
Function Documentation#
-
inline bool tvm::ffi::IsContiguous(const DLTensor &arr)#
check if a DLTensor is contiguous.
- Parameters:
arr – The input DLTensor.
- Returns:
The check result.
Defined in File tensor.h
check if a DLTensor is contiguous.
arr – The input DLTensor.
The check result.