Developer Guide and Reference

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

struct dnnl_matmul_desc_t

Overview

A descriptor of a matrix multiplication operation. More…

Detailed Documentation

A descriptor of a matrix multiplication operation.
2D case: dst[m, n] = src[m, k] * weights[k, n] + bias[m, n]
3D case: dst[mb, m, n] = src[mb, m, k] * weights[mb, k, n] + bias[mb, m, n]
Fields
dnnl_primitive_kind_t primitive_kind
The kind of primitive.
Used for self-identifying the primitive descriptor. Must be dnnl_matmul.
Source memory descriptor.
dnnl_memory_desc_t weights_desc
Weights memory descriptor.
Bias memory descriptor.
Destination memory descriptor.
dnnl_data_type_t accum_data_type
The accumulator data type. Initialized automatically.

Product and Performance Information

1

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