Deep Neural Network Library (DNNL)  1.1.3
Performance library for Deep Learning
Public Attributes | List of all members
dnnl_eltwise_desc_t Struct Reference

A descriptor of a element-wise operation. More...

#include <dnnl_types.h>

Collaboration diagram for dnnl_eltwise_desc_t:
Collaboration graph
[legend]

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_alg_kind_t alg_kind
 The kind of eltwise algorithm. More...
 
dnnl_memory_desc_t data_desc
 Source and destination memory descriptor.
 
dnnl_memory_desc_t diff_data_desc
 Source and destination gradient memory descriptor.
 
float alpha
 Algorithm specific parameter. More...
 

Detailed Description

A descriptor of a element-wise operation.

Examples:
cnn_inference_f32.c, cpu_cnn_training_f32.c, and cross_engine_reorder.c.

Member Data Documentation

◆ primitive_kind

dnnl_primitive_kind_t dnnl_eltwise_desc_t::primitive_kind

The kind of primitive.

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

◆ prop_kind

dnnl_prop_kind_t dnnl_eltwise_desc_t::prop_kind

The kind of propagation.

Possible values: dnnl_forward_training, dnnl_forward_inference, dnnl_backward, and dnnl_backward_data.

◆ alg_kind

dnnl_alg_kind_t dnnl_eltwise_desc_t::alg_kind

◆ alpha

float dnnl_eltwise_desc_t::alpha

Algorithm specific parameter.

Accordance table:


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