Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/tvm-ffi
/ data_ptr
Method
data_ptr
include/tvm/ffi/container/tensor.h:287–287 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
285
* \return The data pointer of the Tensor.
286
*/
287
void* data_ptr() const { return get()->data; }
288
289
/*!
290
* \brief Get the device of the Tensor.
Callers
nothing calls this directly
Calls
1
get
Function · 0.70
Tested by
no test coverage detected