1 #ifndef _OPERATORS_SOFTMAX_OP_H_
2 #define _OPERATORS_SOFTMAX_OP_H_
6 #include "smaug/core/backend.h"
7 #include "smaug/operators/unary_op.h"
17 template <
typename Backend>
18 class SoftmaxOp :
public UnaryOp<Backend> {
20 SoftmaxOp(
const std::string& name, Workspace* workspace)
21 : UnaryOp<Backend>(name, OpType::Softmax, workspace) {}
23 void run()
override {}
26 REGISTER_SPECIAL_OP(SoftmaxOp, ReferenceBackend);