Remove dead code in Activation.cpp (#862)
author최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 <hk0110.choi@samsung.com>
Wed, 25 Apr 2018 00:50:33 +0000 (09:50 +0900)
committer서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 <sangmin7.seo@samsung.com>
Wed, 25 Apr 2018 00:50:33 +0000 (09:50 +0900)
- Remove dead code in Activation.cpp
- This was reported as UNCHECKED_FUNC_RES.STAT from SVACE

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
src/runtime/ref/nn/common/operations/Activation.cpp

index b40b34b..15eeed8 100644 (file)
@@ -136,7 +136,6 @@ bool logisticQuant8(const uint8_t* inputData, const Shape& inputShape,
         return false;
     }
 
-    int numElements = getNumberOfElements(inputShape);
     static constexpr int kInputIntegerBits = 4;
 
     const double input_real_multiplier =