A primitive to copy data between memory formats. More...
Functions | |
mkldnn_status_t MKLDNN_API | mkldnn_reorder_primitive_desc_create (mkldnn_primitive_desc_t *reorder_primitive_desc, const mkldnn_memory_desc_t *src_md, mkldnn_engine_t src_engine, const mkldnn_memory_desc_t *dst_md, mkldnn_engine_t dst_engine, const_mkldnn_primitive_attr_t attr) |
Initializes a reorder_primitive_desc using the description of the source (src_engine and src_md ) and destination (dst_engine and dst_md ) memory, and an attr attribute. More... | |
A primitive to copy data between memory formats.
mkldnn_status_t MKLDNN_API mkldnn_reorder_primitive_desc_create | ( | mkldnn_primitive_desc_t * | reorder_primitive_desc, |
const mkldnn_memory_desc_t * | src_md, | ||
mkldnn_engine_t | src_engine, | ||
const mkldnn_memory_desc_t * | dst_md, | ||
mkldnn_engine_t | dst_engine, | ||
const_mkldnn_primitive_attr_t | attr | ||
) |
Initializes a reorder_primitive_desc
using the description of the source (src_engine
and src_md
) and destination (dst_engine
and dst_md
) memory, and an attr
attribute.
Inputs:
Outputs: