Intel(R) Math Kernel Library for Deep Neural Networks (Intel(R) MKL-DNN)  0.21.0
Performance library for Deep Learning
Public Attributes | List of all members
mkldnn_eltwise_desc_t Struct Reference

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

#include <mkldnn_types.h>

Collaboration diagram for mkldnn_eltwise_desc_t:
Collaboration graph
[legend]

Public Attributes

mkldnn_primitive_kind_t primitive_kind
 The kind of primitive. More...
 
mkldnn_prop_kind_t prop_kind
 The kind of propagation. More...
 
mkldnn_alg_kind_t alg_kind
 The kind of eltwise algorithm. More...
 
mkldnn_memory_desc_t data_desc
 Source and destination memory descriptor. More...
 
mkldnn_memory_desc_t diff_data_desc
 Source and destination gradient memory descriptor. More...
 
float alpha
 Algorithm specific parameter. More...
 
float beta
 

Detailed Description

A descriptor of a element-wise operation.

Member Data Documentation

◆ primitive_kind

mkldnn_primitive_kind_t mkldnn_eltwise_desc_t::primitive_kind

The kind of primitive.

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

◆ prop_kind

mkldnn_prop_kind_t mkldnn_eltwise_desc_t::prop_kind

The kind of propagation.

Possible values: mkldnn_forward_training, mkldnn_forward_inference, mkldnn_backward, and mkldnn_backward_data.

◆ alg_kind

mkldnn_alg_kind_t mkldnn_eltwise_desc_t::alg_kind

◆ data_desc

mkldnn_memory_desc_t mkldnn_eltwise_desc_t::data_desc

Source and destination memory descriptor.

◆ diff_data_desc

mkldnn_memory_desc_t mkldnn_eltwise_desc_t::diff_data_desc

Source and destination gradient memory descriptor.

◆ alpha

float mkldnn_eltwise_desc_t::alpha

Algorithm specific parameter.

Accordance table:

◆ beta

float mkldnn_eltwise_desc_t::beta

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