Developer Guide and Reference

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

struct dnnl::reduction::desc

Overview

Descriptor for reduction. More…
#include <dnnl.hpp> struct desc { // fields dnnl_reduction_desc_t data; // construction desc(); desc( algorithm aalgorithm, const memory::desc& src_desc, const memory::desc& dst_desc, float p, float eps ); };

Detailed Documentation

Descriptor for reduction.
Construction
desc()
Default constructor. Produces an empty object.
desc( algorithm aalgorithm, const memory::desc& src_desc, const memory::desc& dst_desc, float p, float eps )
Constructs a descriptor for a reduction primitive using algorithm specific parameters, source and destination memory descriptors.
Destination memory descriptor may be initialized with dnnl::memory::format_tag::any value of
format_tag
.
Parameters:
aalgorithm
p
algorithm specific parameter.
eps
algorithm specific parameter.
src_desc
Source memory descriptor.
dst_desc
Destination memory descriptor.

Product and Performance Information

1

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