aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/reference/ActivationLayer.h
diff options
context:
space:
mode:
authorIsabella Gottardi <isabella.gottardi@arm.com>2018-09-13 15:33:35 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:54:54 +0000
commit651540f5fc0529589867fc834f8c206c7e7a60c1 (patch)
treea9fd63ac9ca2b2c6c06e5e1ef037a0db1e7a3424 /tests/validation/reference/ActivationLayer.h
parent3b6cdbb91f3810e13097a98a7bbf24771f6dc61f (diff)
downloadComputeLibrary-651540f5fc0529589867fc834f8c206c7e7a60c1.tar.gz
COMPMID-1451: Cleanup reference implementation
Change-Id: Ibadc86a5b9eb8bdd670553256b83a0309cbed37f Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/148317 Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Tested-by: bsgcomp <bsgcomp@arm.com>
Diffstat (limited to 'tests/validation/reference/ActivationLayer.h')
-rw-r--r--tests/validation/reference/ActivationLayer.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/validation/reference/ActivationLayer.h b/tests/validation/reference/ActivationLayer.h
index c752e74733..77b353056e 100644
--- a/tests/validation/reference/ActivationLayer.h
+++ b/tests/validation/reference/ActivationLayer.h
@@ -83,10 +83,7 @@ inline T activate_float(T x, T a, T b, ActivationLayerInfo::ActivationFunction a
return ret;
}
-template <typename T, typename std::enable_if<is_floating_point<T>::value, int>::type = 0>
-SimpleTensor<T> activation_layer(const SimpleTensor<T> &src, ActivationLayerInfo info);
-
-template <typename T, typename std::enable_if<std::is_integral<T>::value, int>::type = 0>
+template <typename T>
SimpleTensor<T> activation_layer(const SimpleTensor<T> &src, ActivationLayerInfo info);
} // namespace reference
} // namespace validation