.. index:: pair: enum; dnnl_graph_layout_type_t .. _doxid-group__dnnl__graph__api__logical__tensor_1ga5b552d8a81835eb955253410bf012694: enum dnnl_graph_layout_type_t ============================= Overview ~~~~~~~~ Layout type specification. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include enum dnnl_graph_layout_type_t { :ref:`dnnl_graph_layout_type_undef` = 0, :ref:`dnnl_graph_layout_type_any` = 1, :ref:`dnnl_graph_layout_type_strided` = 2, :ref:`dnnl_graph_layout_type_opaque` = 3, }; .. _details-group__dnnl__graph__api__logical__tensor_1ga5b552d8a81835eb955253410bf012694: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Layout type specification. Enum Values ----------- .. index:: pair: enumvalue; dnnl_graph_layout_type_undef .. _doxid-group__dnnl__graph__api__logical__tensor_1gga5b552d8a81835eb955253410bf012694a77482f385c4f7969285a99a06a3f3637: .. ref-code-block:: cpp :class: doxyrest-title-code-block dnnl_graph_layout_type_undef Undefined layout type. .. index:: pair: enumvalue; dnnl_graph_layout_type_any .. _doxid-group__dnnl__graph__api__logical__tensor_1gga5b552d8a81835eb955253410bf012694afc5178ef75924c4f130c70cf7b223203: .. ref-code-block:: cpp :class: doxyrest-title-code-block dnnl_graph_layout_type_any Any means to let the library to decide the layout for a tensor during partition compilation. .. index:: pair: enumvalue; dnnl_graph_layout_type_strided .. _doxid-group__dnnl__graph__api__logical__tensor_1gga5b552d8a81835eb955253410bf012694aa9ea14026cc47aafffdcb92c00a1b1ea: .. ref-code-block:: cpp :class: doxyrest-title-code-block dnnl_graph_layout_type_strided Strided means that the layout of a tensor is determined by the strides field in the logical tensor. .. index:: pair: enumvalue; dnnl_graph_layout_type_opaque .. _doxid-group__dnnl__graph__api__logical__tensor_1gga5b552d8a81835eb955253410bf012694a214016e723853d6d9d753871cd5f25b7: .. ref-code-block:: cpp :class: doxyrest-title-code-block dnnl_graph_layout_type_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.