|
SMAUG
Simulating Machine Learning Applications on gem5-Aladdin
|
Concatenates N Tensors along a specified axis. More...
#include <concat_op.h>
Concatenates N Tensors along a specified axis.
This has a software-based implementation.
| Backend | The Backend that sets Alignment. |
Public Member Functions | |
| ConcatOp (const std::string &name, Workspace *workspace) | |
| ConcatOp (const std::string &name, Workspace *workspace, int num, int axis=0) | |
| Create a ConcatOp. More... | |
| void | setNumInputs (int num) |
| Set the number of Tensors to concatenate. | |
| void | setConcatAxis (int axis) |
| Set the axis along which to concatenate. | |
| TensorShape | inferOutputShape () const |
| void | createOutputTensor () |
| void | createAllTensors () override |
| void | run () override |
| int | getConcatAxis () const |
Protected Attributes | |
| int | concatAxis |
|
inline |
1.8.18