enum dnnl::memory::format_kind¶
Overview¶
Memory format kind. More…
#include <dnnl.hpp> enum format_kind { undef = dnnl_format_kind_undef, any = dnnl_format_kind_any, blocked = dnnl_blocked, sparse = dnnl_format_kind_sparse, opaque = dnnl_format_kind_opaque, };
Detailed Documentation¶
Memory format kind.
Enum Values¶
undef
Undefined memory format kind, used for empty memory descriptors.
any
A special format kind that indicates that the actual format will be selected by a primitive automatically.
blocked
A tensor in a generic format described by the stride and blocking values in each dimension.
sparse
Format kind for sparse tensors.
opaque
A special format kind that indicates that tensor format is opaque.