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

#include <mkldnn.hpp>

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

Public Member Functions

std::vector< const_mkldnn_primitive_desc_tcpp_to_c (std::vector< memory::primitive_desc > inputs)
 
 primitive_desc (const memory::desc &output, const std::vector< float > &scales, std::vector< memory::primitive_desc > inputs)
 
 primitive_desc (const std::vector< float > &scales, std::vector< memory::primitive_desc > inputs)
 
memory::primitive_desc dst_primitive_desc () const
 
engine get_engine ()
 
- Public Member Functions inherited from mkldnn::handle< mkldnn_primitive_desc_t >
 handle (mkldnn_primitive_desc_t t=0, bool weak=false)
 Constructs a C handle wrapper. More...
 
 handle (const handle &other)
 
handleoperator= (const handle &other)
 
bool operator== (const handle &other) const
 
bool operator!= (const handle &other) const
 
void reset (mkldnn_primitive_desc_t t, bool weak=false)
 Resets the value of a C handle. More...
 
mkldnn_primitive_desc_t get () const
 Returns the value of the underlying C handle. More...
 

Additional Inherited Members

- Protected Member Functions inherited from mkldnn::handle< mkldnn_primitive_desc_t >
bool operator== (const mkldnn_primitive_desc_t other) const
 
bool operator!= (const mkldnn_primitive_desc_t other) const
 

Constructor & Destructor Documentation

◆ primitive_desc() [1/2]

mkldnn::sum::primitive_desc::primitive_desc ( const memory::desc output,
const std::vector< float > &  scales,
std::vector< memory::primitive_desc inputs 
)
inline

◆ primitive_desc() [2/2]

mkldnn::sum::primitive_desc::primitive_desc ( const std::vector< float > &  scales,
std::vector< memory::primitive_desc inputs 
)
inline

Member Function Documentation

◆ cpp_to_c()

std::vector<const_mkldnn_primitive_desc_t> mkldnn::sum::primitive_desc::cpp_to_c ( std::vector< memory::primitive_desc inputs)
inline

◆ dst_primitive_desc()

memory::primitive_desc mkldnn::sum::primitive_desc::dst_primitive_desc ( ) const
inline

◆ get_engine()

engine mkldnn::sum::primitive_desc::get_engine ( )
inline

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