Deep Neural Network Library (DNNL)  1.1.3
Performance library for Deep Learning
List of all members
dnnl::reorder Struct Reference

Initializes a reorder primitive using the description of the source (src_engine and src_md) and destination (dst_engine and dst_md) memory, and an attr attribute. More...

#include <dnnl.hpp>

Inheritance diagram for dnnl::reorder:
Inheritance graph
[legend]
Collaboration diagram for dnnl::reorder:
Collaboration graph
[legend]

Additional Inherited Members

- Public Types inherited from dnnl::primitive
enum  kind {
  kind::undef = dnnl_undefined_primitive, kind::reorder = dnnl_reorder, kind::shuffle = dnnl_shuffle, kind::concat = dnnl_concat,
  kind::sum = dnnl_sum, kind::convolution = dnnl_convolution, kind::deconvolution = dnnl_deconvolution, kind::eltwise = dnnl_eltwise,
  kind::softmax = dnnl_softmax, kind::pooling = dnnl_pooling, kind::lrn = dnnl_lrn, kind::batch_normalization = dnnl_batch_normalization,
  kind::layer_normalization = dnnl_layer_normalization, kind::inner_product = dnnl_inner_product, kind::rnn = dnnl_rnn, kind::binary = dnnl_binary
}
 Kinds of primitives. More...
 
- Public Member Functions inherited from dnnl::primitive
const_dnnl_primitive_desc_t get_primitive_desc () const
 Returns the descriptor of the underlying C API primitive.
 
- Public Member Functions inherited from dnnl::handle< dnnl_primitive_t >
 handle ()=default
 Empty constructor. More...
 
 handle (dnnl_primitive_t t, bool weak=false)
 Constructs a C handle wrapper from a C handle. More...
 
void reset (dnnl_primitive_t t, bool weak=false)
 Resets the value of a C handle. More...
 
dnnl_primitive_t get (bool allow_emtpy=false) const
 Returns the value of the underlying C handle.
 

Detailed Description

Initializes a reorder primitive using the description of the source (src_engine and src_md) and destination (dst_engine and dst_md) memory, and an attr attribute.

Examples:
cnn_inference_f32.cpp, cnn_inference_int8.cpp, cnn_training_f32.cpp, cpu_cnn_training_bf16.cpp, cpu_rnn_inference_f32.cpp, cpu_rnn_inference_int8.cpp, cross_engine_reorder.cpp, memory_format_propagation.cpp, performance_profiling.cpp, and rnn_training_f32.cpp.

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