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-1D69E732-3F24-4EC9-BFFE-B17A3BBE6578
Visible to Intel only — GUID: GUID-1D69E732-3F24-4EC9-BFFE-B17A3BBE6578
enum dnnl::graph::logical_tensor::layout_type
Overview
Layout type. More…
#include <dnnl_graph.hpp> enum layout_type { undef = dnnl_graph_layout_type_undef, any = dnnl_graph_layout_type_any, strided = dnnl_graph_layout_type_strided, opaque = dnnl_graph_layout_type_opaque, };
Detailed Documentation
Layout type.
Enum Values
undef
Undefined layout type.
any
Any means to let the library to decide the layout for a tensor during partition compilation.
strided
Strided means that the layout of a tensor is determined by the strides field in the logical tensor.
opaque
Opaque means that the layout of a tensor is the library specific.
Usually, an opaque layout is generated by a partition which is compiled with layout type any.