SMAUG
Simulating Machine Learning Applications on gem5-Aladdin
Public Member Functions | Protected Attributes | List of all members
smaug::SmvHardTanhOp Class Reference

Hard tanh operator on SMV. More...

#include <smv_tanh_op.h>

Inheritance diagram for smaug::SmvHardTanhOp:
smaug::HardTanhOp< SmvBackend >

Detailed Description

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
 

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