SMAUG
Simulating Machine Learning Applications on gem5-Aladdin
|
Exposes a Tensor as its only output. More...
#include <data_op.h>
Exposes a Tensor as its only output.
This is the only operator that is not expected to have any inputs. Its existence is to maintain the abstraction that the input to all other operators is always provided by another Operator.
Backend | The Backend specialization of this Operator. |
Public Member Functions | |
DataOp (const std::string &name, Workspace *workspace) | |
void | setData (Tensor *_data) |
void | run () override |
bool | validate () override |
void | createAllTensors () override |
Protected Attributes | |
Tensor * | data |