Deep Neural Network Library (DNNL)  1.1.3
Performance library for Deep Learning
Public Member Functions | List of all members
dnnl::lrn_forward::desc Struct Reference

Descriptor for local response normalization forward propagation. More...

#include <dnnl.hpp>

Collaboration diagram for dnnl::lrn_forward::desc:
Collaboration graph
[legend]

Public Member Functions

 desc (prop_kind aprop_kind, algorithm aalgorithm, const memory::desc &src_desc, memory::dim local_size, float alpha, float beta, float k=1.f)
 Initializes a descriptor for forward propagation using prop_kind (possible values are dnnl::forward_training and dnnl::forward_inference), aalgorithm, memory descriptor data_desc, and regularization parameters local_size, alpha, beta, and k. More...
 

Detailed Description

Descriptor for local response normalization forward propagation.

Examples:
cnn_inference_f32.cpp, cnn_training_f32.cpp, and cpu_cnn_training_bf16.cpp.

Constructor & Destructor Documentation

◆ desc()

dnnl::lrn_forward::desc::desc ( prop_kind  aprop_kind,
algorithm  aalgorithm,
const memory::desc src_desc,
memory::dim  local_size,
float  alpha,
float  beta,
float  k = 1.f 
)
inline

Initializes a descriptor for forward propagation using prop_kind (possible values are dnnl::forward_training and dnnl::forward_inference), aalgorithm, memory descriptor data_desc, and regularization parameters local_size, alpha, beta, and k.


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