SMAUG
Simulating Machine Learning Applications on gem5-Aladdin
|
Forwards the first live input to its output. More...
#include <control_flow_ops.h>
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.
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 |