Skip to content

tenzr::python::dlpack_abi::DLTensor

Public Attributes

Name
void * data
DLDevice device
int32_t ndim
DLDataType dtype
int64_t * shape
int64_t * strides
uint64_t byte_offset

Public Attributes Documentation

variable data

void * data;

variable device

DLDevice device;

variable ndim

int32_t ndim;

variable dtype

DLDataType dtype;

variable shape

int64_t * shape;

variable strides

int64_t * strides;

variable byte_offset

uint64_t byte_offset;