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

Descriptor for an elementwise binary operator primitive. More...

#include <dnnl.hpp>

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

Public Member Functions

 desc ()=default
 Default constructor. Produces an empty object.
 
 desc (algorithm algorithm, const memory::desc &src0, const memory::desc &src1, const memory::desc &dst)
 Constructs a descriptor for an elementwise binary operator primitive. More...
 

Public Attributes

dnnl_binary_desc_t data
 Underlying C operation descriptor.
 

Detailed Description

Descriptor for an elementwise binary operator primitive.

Constructor & Destructor Documentation

◆ desc()

dnnl::binary::desc::desc ( algorithm  algorithm,
const memory::desc src0,
const memory::desc src1,
const memory::desc dst 
)
inline

Constructs a descriptor for an elementwise binary operator primitive.

Inputs:

Outputs:

Parameters
algorithmElementwise algorithm.
src0Memory descriptor for source tensor #0.
src1Memory descriptor for source tensor #1.
dstMemory descriptor for destination tensor.

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