Typedef Qnn_TensorDataFormat_t

Typedef Documentation

typedef uint32_t Qnn_TensorDataFormat_t

Tensor data format identifier. The default format QNN_TENSOR_DATA_FORMAT_DENSE is supported by all backends. Backends may also support QNN_TENSOR_DATA_FORMAT_SPARSE or QNN_TENSOR_DATA_FORMAT_CODEBOOK.

Note

Data format for intermediate tensors, i.e ones of type QNN_TENSOR_TYPE_NATIVE may not be honored by a backend, because it can choose to pick a data format that is more conducive for its execution.