oneAPI Deep Neural Network Library (oneDNN)
Performance library for Deep Learning
1.96.0
dnnl::shuffle_forward::desc Struct Reference

Descriptor for a shuffle forward propagation primitive. More...

#include <dnnl.hpp>

Collaboration diagram for dnnl::shuffle_forward::desc:

Public Member Functions

 desc (prop_kind aprop_kind, const memory::desc &data_desc, int axis, int group_size)
 Constructs a descriptor for a shuffle forward propagation primitive. More...
 

Detailed Description

Descriptor for a shuffle forward propagation primitive.

Examples:
shuffle.cpp.

Constructor & Destructor Documentation

◆ desc()

dnnl::shuffle_forward::desc::desc ( prop_kind  aprop_kind,
const memory::desc data_desc,
int  axis,
int  group_size 
)
inline

Constructs a descriptor for a shuffle forward propagation primitive.

Parameters
aprop_kindPropagation kind. Possible values are dnnl::prop_kind::forward_training, and dnnl::prop_kind::forward_inference.
data_descSource and destination memory descriptor.
axisThe axis along which the data is shuffled.
group_sizeShuffle group size.

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