Developer Guide and Reference

  • 2022.1
  • 04/11/2022
  • Public Content
Contents

struct dnnl::lrn_forward::desc

Overview

Descriptor for an LRN forward propagation primitive. More…
#include <dnnl.hpp> struct desc { // fields dnnl_lrn_desc_t data; // construction desc( prop_kind aprop_kind, algorithm aalgorithm, const memory::desc& data_desc, memory::dim local_size, float alpha, float beta, float k = 1.f ); };

Detailed Documentation

Descriptor for an LRN forward propagation primitive.
Construction
desc( prop_kind aprop_kind, algorithm aalgorithm, const memory::desc& data_desc, memory::dim local_size, float alpha, float beta, float k = 1.f )
Constructs a descriptor for a LRN forward propagation primitive.
Parameters:
aprop_kind
Propagation kind. Possible values are dnnl::prop_kind::forward_training, and dnnl::prop_kind::forward_inference.
aalgorithm
data_desc
Source and destination memory descriptors.
local_size
Regularization local size.
alpha
The alpha regularization parameter.
beta
The beta regularization parameter.
k
The k regularization parameter.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.