oneAPI Deep Neural Network Library (oneDNN)
Performance library for Deep Learning
1.96.0
dnnl::inner_product_backward_weights::desc Struct Reference

Descriptor for an inner product weights gradient primitive. More...

#include <dnnl.hpp>

Collaboration diagram for dnnl::inner_product_backward_weights::desc:

Public Member Functions

 desc (const memory::desc &src_desc, const memory::desc &diff_weights_desc, const memory::desc &diff_bias_desc, const memory::desc &diff_dst_desc)
 Constructs a descriptor for an inner product descriptor weights update primitive with bias. More...
 
 desc (const memory::desc &src_desc, const memory::desc &diff_weights_desc, const memory::desc &diff_dst_desc)
 Constructs a descriptor for an inner product descriptor weights update primitive without bias. More...
 

Detailed Description

Descriptor for an inner product weights gradient primitive.

Constructor & Destructor Documentation

◆ desc() [1/2]

dnnl::inner_product_backward_weights::desc::desc ( const memory::desc src_desc,
const memory::desc diff_weights_desc,
const memory::desc diff_bias_desc,
const memory::desc diff_dst_desc 
)
inline

Constructs a descriptor for an inner product descriptor weights update primitive with bias.

Note
All the memory descriptors may be initialized with the dnnl::memory::format_tag::any value of format_tag.
Parameters
src_descMemory descriptor for src.
diff_weights_descMemory descriptor for diff weights.
diff_bias_descMemory descriptor for diff bias.
diff_dst_descMemory descriptor for diff dst.

◆ desc() [2/2]

dnnl::inner_product_backward_weights::desc::desc ( const memory::desc src_desc,
const memory::desc diff_weights_desc,
const memory::desc diff_dst_desc 
)
inline

Constructs a descriptor for an inner product descriptor weights update primitive without bias.

Note
All the memory descriptors may be initialized with the dnnl::memory::format_tag::any value of format_tag.
Parameters
src_descMemory descriptor for src.
diff_weights_descMemory descriptor for diff weights.
diff_dst_descMemory descriptor for diff dst.

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