mxnet
Public Attributes | List of all members
mkldnn_blocking_desc_t Struct Reference

#include <mkldnn_types.h>

Collaboration diagram for mkldnn_blocking_desc_t:
Collaboration graph

Public Attributes

mkldnn_dims_t strides
 
int inner_nblks
 The number of innermost blocks, e.g. 3 in case of OIhw_4i16o4i_ More...
 
mkldnn_dims_t inner_blks
 The size of the blocks, e.g. {4, 16, 4} in case of OIhw_4i16o4i More...
 
mkldnn_dims_t inner_idxs
 

Detailed Description

Generic description of blocked data layout for most memory formats.

See also
dev_guide_understanding_memory_formats

Member Data Documentation

mkldnn_dims_t mkldnn_blocking_desc_t::inner_blks

The size of the blocks, e.g. {4, 16, 4} in case of OIhw_4i16o4i

mkldnn_dims_t mkldnn_blocking_desc_t::inner_idxs

The logical indices of the blocks, e.g. {1, 0, 1} in case of 4i16o4i, because i is the 1st dim and o is the 0st dim

int mkldnn_blocking_desc_t::inner_nblks

The number of innermost blocks, e.g. 3 in case of OIhw_4i16o4i_

mkldnn_dims_t mkldnn_blocking_desc_t::strides

The strides between the outermost blocks. In case of plain (non-blocked) formats the strides between dimensions.


The documentation for this struct was generated from the following file: