oneAPI Deep Neural Network Library (oneDNN)
Performance library for Deep Learning
1.96.0
dnnl_shuffle_desc_t Struct Reference

A descriptor of a shuffle operation. More...

#include <dnnl_types.h>

Collaboration diagram for dnnl_shuffle_desc_t:

Public Attributes

dnnl_primitive_kind_t primitive_kind
 The kind of primitive. More...
 
dnnl_prop_kind_t prop_kind
 The kind of propagation. More...
 
dnnl_memory_desc_t data_desc
 Source and destination memory descriptor, and source and destination gradient memory descriptor. More...
 
int axis
 Axis for shuffling.
 
dnnl_dim_t group_size
 Number of groups.
 

Detailed Description

A descriptor of a shuffle operation.

Member Data Documentation

◆ primitive_kind

dnnl_primitive_kind_t dnnl_shuffle_desc_t::primitive_kind

The kind of primitive.

Used for self-identifying the primitive descriptor. Must be dnnl_shuffle.

◆ prop_kind

dnnl_prop_kind_t dnnl_shuffle_desc_t::prop_kind

The kind of propagation.

Possible values: dnnl_forward_training, dnnl_forward_inference, and dnnl_backward_data.

◆ data_desc

dnnl_memory_desc_t dnnl_shuffle_desc_t::data_desc

Source and destination memory descriptor, and source and destination gradient memory descriptor.


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