Public Attributes | List of all members
dnnl_binary_desc_t Struct Reference

A descriptor of a binary operation. More...

#include <dnnl_types.h>

Collaboration diagram for dnnl_binary_desc_t:
Collaboration graph

Public Attributes

dnnl_primitive_kind_t primitive_kind
dnnl_alg_kind_t alg_kind
dnnl_memory_desc_t src_desc [2]
 Source memory descriptors. More...
dnnl_memory_desc_t dst_desc
 Destination memory descriptor. More...

Detailed Description

A descriptor of a binary operation.

Member Data Documentation

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 and dnnl_binary_min.

dnnl_memory_desc_t dnnl_binary_desc_t::dst_desc

Destination memory descriptor.

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_memory_desc_t dnnl_binary_desc_t::src_desc[2]

Source memory descriptors.

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