Intel® oneAPI Deep Neural Network Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-86CFAF36-B52E-4E19-9C04-6D48B88340DD
Visible to Intel only — GUID: GUID-86CFAF36-B52E-4E19-9C04-6D48B88340DD
enum dnnl::memory::sparse_encoding
Overview
Sparse encodings. More…
#include <dnnl.hpp> enum sparse_encoding { undef = dnnl_sparse_encoding_undef, csr = dnnl_csr, packed = dnnl_packed, coo = dnnl_coo, };
Detailed Documentation
Sparse encodings.
Enum Values
undef
Undefined sparse encoding kind, used for empty memory descriptors.
csr
Compressed Sparse Row (CSR) encoding.
packed
An encoding that is used for an opaque storage schema for tensors with unstructured sparsity.
A memory descriptor with the packed encoding cannot be used to create a memory object. It can only be used to create a primitive descriptor to query the actual memory descriptor (similar to the format tag any).
coo
Coordinate Sparse (COO) encoding.