Struct Qnn_SparseLayoutHybridCoo_t

Struct Documentation

struct Qnn_SparseLayoutHybridCoo_t

A struct which defines the parameters for a COO sparse tensor layout.

Public Members

uint32_t numSpecifiedElements

Number of specified elements of a sparse tensor. Treated as the maximum when creating a tensor.

uint32_t numSparseDimensions

Size of the index for a hybrid COO sparse tensor. The size of the index can range from 1 to the rank of the tensor. This feature allows for partially sparse tensors.