A descriptor of a binary operation. More...
#include <dnnl_types.h>

Public Attributes | |
| dnnl_primitive_kind_t | primitive_kind |
| The kind of primitive. More... | |
| dnnl_alg_kind_t | alg_kind |
| The kind of the binary algorithm. More... | |
| dnnl_memory_desc_t | src_desc [2] |
| Source memory descriptors. | |
| dnnl_memory_desc_t | dst_desc |
| Destination memory descriptor. | |
A descriptor of a binary operation.
| dnnl_primitive_kind_t dnnl_binary_desc_t::primitive_kind |
The kind of primitive.
Used for self-identifying the primitive descriptor. Must be dnnl_binary.
| dnnl_alg_kind_t dnnl_binary_desc_t::alg_kind |
The kind of the binary algorithm.
Possible values: dnnl_binary_add, dnnl_binary_mul, dnnl_binary_max, dnnl_binary_min, dnnl_binary_div and dnnl_binary_sub.