Skip to main content

DLTensor Struct

Declaration

struct simaai::neat::dlpack::DLTensor { ... }

Included Headers

#include <TensorTypes.h>

Public Member Attributes Index

void *data
DLDevicedevice
intndim
DLDataTypedtype
int64_t *shape
int64_t *strides
uint64_tbyte_offset

Definition at line 37 of file TensorTypes.h.

Public Member Attributes

byte_offset

uint64_t simaai::neat::dlpack::DLTensor::byte_offset

Definition at line 44 of file TensorTypes.h.

44 uint64_t byte_offset;

data

void* simaai::neat::dlpack::DLTensor::data

Definition at line 38 of file TensorTypes.h.

38 void* data;

device

DLDevice simaai::neat::dlpack::DLTensor::device

Definition at line 39 of file TensorTypes.h.

dtype

DLDataType simaai::neat::dlpack::DLTensor::dtype

Definition at line 41 of file TensorTypes.h.

ndim

int simaai::neat::dlpack::DLTensor::ndim

Definition at line 40 of file TensorTypes.h.

40 int ndim;

shape

int64_t* simaai::neat::dlpack::DLTensor::shape

Definition at line 42 of file TensorTypes.h.

42 int64_t* shape;

strides

int64_t* simaai::neat::dlpack::DLTensor::strides

Definition at line 43 of file TensorTypes.h.

43 int64_t* strides;

The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.1.