Enum QnnGpuOpPackage_TensorConstraintType_t

Enum Documentation

enum QnnGpuOpPackage_TensorConstraintType_t

An enum to specify the tensor constraint type.

Values:

enumerator QNN_GPU_OPTIMIZATION_SUPER_NODE_TENSOR_CONSTRAINT_DATA_TYPE = 1

Add a Qnn_DataType_t to the whitelist of allowable types. If no data type constraint is present for a tensor, all data types are allowed.

enumerator QNN_GPU_OPTIMIZATION_SUPER_NODE_TENSOR_CONSTRAINT_RANK = 2

Tensor must match it’s rank.

enumerator QNN_GPU_OPTIMIZATION_SUPER_NODE_TENSOR_CONSTRAINT_DIMENSION = 3

Tensor must match one of it’s dimensions.

enumerator QNN_GPU_OPTIMIZATION_SUPER_NODE_TENSOR_CONSTRAINT_TENSOR_TYPE = 4

Add a Qnn_TensorType_t to the whitelist of allowable tensor types. If no tensor type constraint is present for a tensor, all types are allowed.