Developer Guide and Reference

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

struct dnnl::binary::desc

Overview

Descriptor for an elementwise binary operator primitive. More…
#include <dnnl.hpp> struct desc { // fields dnnl_binary_desc_t data; // construction desc(); desc( algorithm aalgorithm, const memory::desc& src0, const memory::desc& src1, const memory::desc& dst ); };

Detailed Documentation

Descriptor for an elementwise binary operator primitive.
Fields
Underlying C operation descriptor.
Construction
desc()
Default constructor. Produces an empty object.
desc( algorithm aalgorithm, const memory::desc& src0, const memory::desc& src1, const memory::desc& dst )
Constructs a descriptor for an elementwise binary operator primitive.
Parameters:
aalgorithm
Elementwise binary algorithm.
src0
Memory descriptor for source tensor #0.
src1
Memory descriptor for source tensor #1.
dst
Memory descriptor for destination tensor.

Product and Performance Information

1

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