SMAUG
Simulating Machine Learning Applications on gem5-Aladdin
Public Member Functions | List of all members
smaug::MergeOp< Backend > Class Template Reference

Forwards the first live input to its output. More...

#include <control_flow_ops.h>

Detailed Description

template<typename Backend>
class smaug::MergeOp< Backend >

Forwards the first live input to its output.

The merge operator takes multiple tensors, all but one of which should be dead, and copies the one live Tensor to its output.

Definition at line 54 of file backend.h.

Public Member Functions

 MergeOp (const std::string &name, Workspace *workspace)
 
void setNumInputs (int num)
 
void createAllTensors () override
 
bool isDead () override
 A merge operator is dead only when all its inputs are dead.
 
void run () override
 

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