aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/reference/ActivationLayer.h
diff options
context:
space:
mode:
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