Struct Qnn_TensorV1_t¶
Defined in File QnnTypes.h
Struct Documentation¶
-
struct Qnn_TensorV1_t¶
A struct which describes the properties of a V1 version of tensor.
Public Members
-
uint32_t id¶
Integer identifier for a tensor.
-
const char *name¶
Tensor name.
-
Qnn_TensorType_t type¶
Tensor type.
-
Qnn_TensorDataFormat_t dataFormat¶
Tensor data formatting in memory (refer to definition type for info).
-
Qnn_DataType_t dataType¶
Tensor data type.
-
Qnn_QuantizeParams_t quantizeParams¶
Tensor quantization params.
-
uint32_t rank¶
Tensor rank.
-
uint32_t *dimensions¶
Tensor dimension array of length rank. For detailed behavior of dimensions field with various APIs, refer SDK documentation. Must be NULL when rank is 0.
-
Qnn_TensorMemType_t memType¶
Tensor memory type.
-
union unnamed¶
Actual data contained in the tensor.
Public Members
-
Qnn_ClientBuffer_t clientBuf¶
Tensor data provided by client as a pointer to raw memory (see QNN_TENSORMEMTYPE_RAW).
-
Qnn_MemHandle_t memHandle¶
Tensor data shared via a memory handle (see QNN_TENSORMEMTYPE_MEMHANDLE).
-
Qnn_ClientBuffer_t clientBuf¶
-
uint32_t id¶