Descriptor for an elementwise binary operator primitive. More...
#include <dnnl.hpp>

Public Member Functions | |
| desc ()=default | |
| 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. More... | |
Public Attributes | |
| dnnl_binary_desc_t | data |
| Underlying C operation descriptor. | |
Descriptor for an elementwise binary operator primitive.
|
inline |
Constructs a descriptor for an elementwise binary operator primitive.
| aalgorithm | Elementwise binary algorithm. |
| src0 | Memory descriptor for source tensor #0. |
| src1 | Memory descriptor for source tensor #1. |
| dst | Memory descriptor for destination tensor. |