Debug capabilities. More...
Go to the source code of this file.
Functions | |
int DNNL_API | dnnl_md2fmt_str (char *fmt_str, size_t fmt_str_len, const dnnl_memory_desc_t *md) |
Forms a format string for a given memory descriptor. More... | |
int DNNL_API | dnnl_md2dim_str (char *dim_str, size_t dim_str_len, const dnnl_memory_desc_t *md) |
Forms a dimension string for a given memory descriptor. More... | |
Debug capabilities.
int DNNL_API dnnl_md2fmt_str | ( | char * | fmt_str, |
size_t | fmt_str_len, | ||
const dnnl_memory_desc_t * | md | ||
) |
Forms a format string for a given memory descriptor.
The format is defined as: 'dt:[p|o|0]:fmt_kind:fmt:extra'. Here:
int DNNL_API dnnl_md2dim_str | ( | char * | dim_str, |
size_t | dim_str_len, | ||
const dnnl_memory_desc_t * | md | ||
) |
Forms a dimension string for a given memory descriptor.
The format is defined as: 'dim0xdim1x...xdimN