struct dnnl::softmax_backward::desc¶
Overview¶
Descriptor for a softmax backward propagation primitive. More…
#include <dnnl.hpp> struct desc { // fields dnnl_softmax_desc_t data; // construction desc(); desc( const memory::desc& diff_data_desc, const memory::desc& data_desc, int softmax_axis ); };
Detailed Documentation¶
Descriptor for a softmax backward propagation primitive.
Construction¶
desc()
Default constructor. Produces an empty object.
desc( const memory::desc& diff_data_desc, const memory::desc& data_desc, int softmax_axis )
Constructs a descriptor for a softmax backward propagation primitive.
Parameters:
diff_data_desc |
Diff source and diff destination memory descriptor. |
data_desc |
Destination memory descriptor. |
softmax_axis |
Axis over which softmax is computed. |