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

Rectified linear-unit operator on SMV. More...

#include <smv_relu_op.h>

Inheritance diagram for smaug::SmvReluOp:
smaug::ReluOp< SmvBackend >

Detailed Description

Rectified linear-unit operator on SMV.

Definition at line 12 of file smv_relu_op.h.

Public Member Functions

void tile () override
 
void run () override
 
- Public Member Functions inherited from smaug::ReluOp< SmvBackend >
 ReluOp (const std::string &name, Workspace *workspace, float _slope=0)
 
void run () override
 
void run ()
 
void setSlope (float _slope)
 
float getSlope () const
 

Protected Attributes

std::array< TiledTensor, 2 > tiledTensors
 
- Protected Attributes inherited from smaug::ReluOp< SmvBackend >
float slope
 

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