SMAUG
Simulating Machine Learning Applications on gem5-Aladdin
|
Hard tanh operator on SMV. More...
#include <smv_tanh_op.h>
Hard tanh operator on SMV.
Definition at line 23 of file smv_tanh_op.h.
Public Member Functions | |
void | tile () override |
void | run () override |
Public Member Functions inherited from smaug::HardTanhOp< SmvBackend > | |
HardTanhOp (const std::string &name, Workspace *workspace, float _min=-1, float _max=1) | |
void | run () override |
void | run () |
void | setMin (float _min) |
void | setMax (float _max) |
float | getMin () const |
float | getMax () const |
Protected Attributes | |
std::array< TiledTensor, 2 > | tiledTensors |
Protected Attributes inherited from smaug::HardTanhOp< SmvBackend > | |
float | min |
float | max |