struct dnnl_inner_product_desc_t¶
Overview¶
A descriptor of an inner product operation. More…
#include <dnnl_types.h> struct dnnl_inner_product_desc_t { // fields dnnl_primitive_kind_t primitive_kind; dnnl_prop_kind_t prop_kind; dnnl_memory_desc_t src_desc; dnnl_memory_desc_t diff_src_desc; dnnl_memory_desc_t weights_desc; dnnl_memory_desc_t diff_weights_desc; dnnl_memory_desc_t bias_desc; dnnl_memory_desc_t diff_bias_desc; dnnl_memory_desc_t dst_desc; dnnl_memory_desc_t diff_dst_desc; dnnl_data_type_t accum_data_type; };
Detailed Documentation¶
A descriptor of an inner product operation.
Fields¶
dnnl_primitive_kind_t primitive_kind
The kind of primitive.
Used for self-identifying the primitive descriptor. Must be dnnl_inner_product.
dnnl_prop_kind_t prop_kind
The kind of propagation.
Possible values: dnnl_forward_training, dnnl_forward_inference, dnnl_backward_data, dnnl_backward_weights, and dnnl_backward_bias.
dnnl_memory_desc_t src_desc
Source memory descriptor.
dnnl_memory_desc_t diff_src_desc
Source gradient memory descriptor.
dnnl_memory_desc_t weights_desc
Weights memory descriptor.
dnnl_memory_desc_t diff_weights_desc
Weights gradient memory descriptor.
dnnl_memory_desc_t bias_desc
Bias memory descriptor.
dnnl_memory_desc_t diff_bias_desc
Bias gradient memory descriptor.
dnnl_memory_desc_t dst_desc
Destination memory descriptor.
dnnl_memory_desc_t diff_dst_desc
Destination gradient memory descriptor.
dnnl_data_type_t accum_data_type
The accumulator data type. Initialized automatically.