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::post_ops Struct Reference

#include <mkldnn.hpp>

Inheritance diagram for mkldnn::post_ops:
Inheritance graph
[legend]
Collaboration diagram for mkldnn::post_ops:
Collaboration graph
[legend]

Public Member Functions

 post_ops ()
 
int len () const
 
primitive::kind kind (int index) const
 
void append_sum (float scale=1.)
 
void get_params_sum (int index, float &scale) const
 
void append_eltwise (float scale, algorithm alg, float alpha, float beta)
 
void get_params_eltwise (int index, float &scale, algorithm &alg, float &alpha, float &beta) const
 
- Public Member Functions inherited from mkldnn::handle< mkldnn_post_ops_t >
 handle (mkldnn_post_ops_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_post_ops_t t, bool weak=false)
 Resets the value of a C handle. More...
 
mkldnn_post_ops_t get () const
 Returns the value of the underlying C handle. More...
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ post_ops()

mkldnn::post_ops::post_ops ( )
inline

Member Function Documentation

◆ len()

int mkldnn::post_ops::len ( ) const
inline

◆ kind()

primitive::kind mkldnn::post_ops::kind ( int  index) const
inline

◆ append_sum()

void mkldnn::post_ops::append_sum ( float  scale = 1.)
inline

◆ get_params_sum()

void mkldnn::post_ops::get_params_sum ( int  index,
float &  scale 
) const
inline

◆ append_eltwise()

void mkldnn::post_ops::append_eltwise ( float  scale,
algorithm  alg,
float  alpha,
float  beta 
)
inline

◆ get_params_eltwise()

void mkldnn::post_ops::get_params_eltwise ( int  index,
float &  scale,
algorithm alg,
float &  alpha,
float &  beta 
) const
inline

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