Intel(R) Math Kernel Library for Deep Neural Networks (Intel(R) MKL-DNN)  1.0.4
Performance library for Deep Learning
Public Member Functions | List of all members
mkldnn::lrn_forward::primitive_desc Struct Reference

Primitive descriptor for local response normalization forward propagation. More...

#include <mkldnn.hpp>

Inheritance diagram for mkldnn::lrn_forward::primitive_desc:
Inheritance graph
[legend]
Collaboration diagram for mkldnn::lrn_forward::primitive_desc:
Collaboration graph
[legend]

Public Member Functions

memory::desc src_desc () const
 Queries source memory descriptor.
 
memory::desc dst_desc () const
 Queries destination memory descriptor.
 
memory::desc workspace_desc () const
 Queries workspace memory descriptor. More...
 
- Public Member Functions inherited from mkldnn::primitive_desc
 primitive_desc (const_mkldnn_op_desc_t desc, const primitive_attr *attr, const engine &e, const_mkldnn_primitive_desc_t hint_fwd_pd)
 Creates a primitive descriptor from given op_desc, attr, engine, and optionally a hint primitive descriptor from forward propagation. More...
 
const char * impl_info_str () const
 Returns implementation name.
 
memory::dim query_s64 (query q) const
 Queries the memory::dim value (same as int64_t)
 
bool next_impl ()
 Advances the next implementation for the given op descriptor. More...
 
memory::desc query_md (query what, int idx=0) const
 Queries and returns requested memory descriptor.
 
memory::desc scratchpad_desc () const
 Queries scratchpad memory descriptor. More...
 
- Public Member Functions inherited from mkldnn::handle< mkldnn_primitive_desc_t >
 handle (mkldnn_primitive_desc_t t, bool weak=false)
 Constructs a C handle wrapper. More...
 
 handle ()
 Empty constructor. More...
 
void reset (mkldnn_primitive_desc_t t, bool weak=false)
 Resets the value of a C handle. More...
 
mkldnn_primitive_desc_t get (bool allow_emtpy=false) const
 Returns the value of the underlying C handle.
 

Detailed Description

Primitive descriptor for local response normalization forward propagation.

Examples:
cpu_cnn_inference_f32.cpp, cpu_cnn_training_bf16.cpp, and cpu_cnn_training_f32.cpp.

Member Function Documentation

◆ workspace_desc()

memory::desc mkldnn::lrn_forward::primitive_desc::workspace_desc ( ) const
inline

Queries workspace memory descriptor.

Returns a zero_md if no worspace is required.


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