oneAPI Deep Neural Network Library (oneDNN)  1.4.0
Performance library for Deep Learning
Loading...
Searching...
No Matches
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 prop_kind, const memory::desc &data_desc, int axis, int group_size)
 Constructs a descriptor for a shuffle forward propagation primitive.

Detailed Description

Descriptor for a shuffle forward propagation primitive.

Examples
shuffle.cpp.

Constructor & Destructor Documentation

◆ desc()

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

Constructs a descriptor for a shuffle forward propagation primitive.

Inputs:

Outputs:

Parameters
prop_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: