SMAUG
Simulating Machine Learning Applications on gem5-Aladdin
|
Implements the rectified linear unit operator: max(slope * x, 0). More...
#include <relu_op.h>
Implements the rectified linear unit operator: max(slope * x, 0).
Backend | The Backend specialization of this Operator. |
Public Member Functions | |
ReluOp (const std::string &name, Workspace *workspace, float _slope=0) | |
void | run () override |
void | setSlope (float _slope) |
float | getSlope () const |
void | run () |
Protected Attributes | |
float | slope |