aboutsummaryrefslogtreecommitdiff
path: root/reference_model/src/ops/activation_funcs.h
diff options
context:
space:
mode:
authorKevin Cheng <kevin.cheng@arm.com>2021-09-28 15:48:27 -0700
committerKevin Cheng <kevin.cheng@arm.com>2021-09-28 15:48:27 -0700
commit269e898e23cfb4acb337beb5385620ac5afd9df8 (patch)
treebdf4939230de4982d4630b16b94365f928278290 /reference_model/src/ops/activation_funcs.h
parentc42addcee5240d9a0846d3f7e8cb5f88c80e2975 (diff)
downloadreference_model-269e898e23cfb4acb337beb5385620ac5afd9df8.tar.gz
Remove ReluN op.
Signed-off-by: Kevin Cheng <kevin.cheng@arm.com> Change-Id: Iaac727159a84de1f83de549c3a22704096f46bf9
Diffstat (limited to 'reference_model/src/ops/activation_funcs.h')
-rw-r--r--reference_model/src/ops/activation_funcs.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/reference_model/src/ops/activation_funcs.h b/reference_model/src/ops/activation_funcs.h
index c834b52..10385e0 100644
--- a/reference_model/src/ops/activation_funcs.h
+++ b/reference_model/src/ops/activation_funcs.h
@@ -45,26 +45,6 @@ protected:
};
template <int Rank, DType Dtype>
-class OpReluN : public UnaryNode<Rank, Dtype>
-{
-public:
- OpReluN(SubgraphTraverser* sgt_, TosaAttributeBase* attribute_, TosaQuantInfoBase* qinfo_, uint64_t id_)
- : UnaryNode<Rank, Dtype>(sgt_, Op_RELUN, id_)
- {
- INIT_ATTRIBUTE(ReluN);
- register_fcn();
- }
- static constexpr int32_t QMin = GetQMin<Dtype>::value;
- static constexpr int32_t QMax = GetQMax<Dtype>::value;
- using InEigenType = typename GetEigenType<Dtype>::type;
- using OutEigenType = typename GetEigenType<Dtype>::type;
- virtual int register_fcn();
-
-protected:
- TosaReluNAttribute* attribute;
-};
-
-template <int Rank, DType Dtype>
class OpSigmoid : public UnaryNode<Rank, Dtype>
{
public: