From 269e898e23cfb4acb337beb5385620ac5afd9df8 Mon Sep 17 00:00:00 2001 From: Kevin Cheng Date: Tue, 28 Sep 2021 15:48:27 -0700 Subject: Remove ReluN op. Signed-off-by: Kevin Cheng Change-Id: Iaac727159a84de1f83de549c3a22704096f46bf9 --- reference_model/src/ops/activation_funcs.h | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'reference_model/src/ops/activation_funcs.h') 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 @@ -44,26 +44,6 @@ protected: TosaClampAttribute* attribute; }; -template -class OpReluN : public UnaryNode -{ -public: - OpReluN(SubgraphTraverser* sgt_, TosaAttributeBase* attribute_, TosaQuantInfoBase* qinfo_, uint64_t id_) - : UnaryNode(sgt_, Op_RELUN, id_) - { - INIT_ATTRIBUTE(ReluN); - register_fcn(); - } - static constexpr int32_t QMin = GetQMin::value; - static constexpr int32_t QMax = GetQMax::value; - using InEigenType = typename GetEigenType::type; - using OutEigenType = typename GetEigenType::type; - virtual int register_fcn(); - -protected: - TosaReluNAttribute* attribute; -}; - template class OpSigmoid : public UnaryNode { -- cgit v1.2.1