Descriptor for an elementwise binary operator primitive.
More...
#include <dnnl.hpp>
Descriptor for an elementwise binary operator primitive.
- Examples:
- binary.cpp, and bnorm_u8_via_binary_postops.cpp.
◆ desc()
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. |
The documentation for this struct was generated from the following file: