mxnet
Functions
Collaboration diagram for Reorder:

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)
 

Detailed Description

A primitive to copy data between memory formats.

See also
dev_guide_reorder in developer guide
cpp_api_reorder in cpp_api

Function Documentation

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: