#include <mkldnn.hpp>
|
| 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) |
|
handle & | operator= (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...
|
|
◆ post_ops()
mkldnn::post_ops::post_ops |
( |
| ) |
|
|
inline |
◆ len()
int mkldnn::post_ops::len |
( |
| ) |
const |
|
inline |
◆ kind()
◆ 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: