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

Descriptor for pooling forward propagation. More...

#include <dnnl.hpp>

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

Public Member Functions

 desc (prop_kind aprop_kind, algorithm aalgorithm, const memory::desc &src_desc, const memory::desc &dst_desc, const memory::dims &strides, const memory::dims &kernel, const memory::dims &padding_l, const memory::dims &padding_r)
 Initializes a pooling descriptor for forward propagation using aprop_kind (possible values are dnnl::forward_training and dnnl::forward_inference), aalgorithm, memory descriptors, and pooling parameters in the spatial domain: strides, kernel sizes, padding_l, and padding_r. More...
 

Detailed Description

Descriptor for pooling forward propagation.

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

Constructor & Destructor Documentation

◆ desc()

dnnl::pooling_forward::desc::desc ( prop_kind  aprop_kind,
algorithm  aalgorithm,
const memory::desc src_desc,
const memory::desc dst_desc,
const memory::dims &  strides,
const memory::dims &  kernel,
const memory::dims &  padding_l,
const memory::dims &  padding_r 
)
inline

Initializes a pooling descriptor for forward propagation using aprop_kind (possible values are dnnl::forward_training and dnnl::forward_inference), aalgorithm, memory descriptors, and pooling parameters in the spatial domain: strides, kernel sizes, padding_l, and padding_r.


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