MCPcopy Create free account
hub / github.com/apache/tvm-ffi / IsContiguous

Method IsContiguous

include/tvm/ffi/container/tensor.h:807–807  ·  view source on GitHub ↗

! * \brief Check if the Tensor is contiguous. * \return True if the Tensor is contiguous, false otherwise. */

Source from the content-addressed store, hash-verified

805 * \return True if the Tensor is contiguous, false otherwise.
806 */
807 bool IsContiguous() const { return tvm::ffi::IsContiguous(tensor_); }
808
809 // the following code are convenient APIs redirections created to provide aten-style api
810 /*!

Callers

nothing calls this directly

Calls 1

IsContiguousFunction · 0.85

Tested by

no test coverage detected