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

Method data_ptr

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

! * \brief Get the data pointer of the Tensor. * \return The data pointer of the Tensor. */

Source from the content-addressed store, hash-verified

728 * \return The data pointer of the Tensor.
729 */
730 void* data_ptr() const { return tensor_.data; }
731 /*!
732 * \brief Get the device of the Tensor.
733 * \return The device of the Tensor.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected