Developer Guide and Reference

  • 2022.1
  • 04/11/2022
  • Public Content
Contents

struct dnnl_binary_desc_t

Overview

A descriptor of a binary operation. More…
#include <dnnl_types.h> struct dnnl_binary_desc_t { // fields dnnl_primitive_kind_t primitive_kind; dnnl_alg_kind_t alg_kind; dnnl_memory_desc_t src_desc[2]; dnnl_memory_desc_t dst_desc; };

Detailed Documentation

A descriptor of a binary operation.
Fields
dnnl_primitive_kind_t primitive_kind
The kind of primitive.
Used for self-identifying the primitive descriptor. Must be dnnl_binary.
The kind of the binary algorithm.
dnnl_memory_desc_t src_desc[2]
Source memory descriptors.
Destination memory descriptor.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.