aboutsummaryrefslogtreecommitdiff
path: root/src/core/cpu/kernels/softmax/impl/NEON/list.h
diff options
context:
space:
mode:
authorSang-Hoon Park <sang-hoon.park@arm.com>2021-03-04 17:03:46 +0000
committerSang-Hoon Park <sang-hoon.park@arm.com>2021-03-05 09:22:27 +0000
commitdcf3c7e1591cfac19ee2b800141df3b3fe45062d (patch)
tree3384387140c8955c24269f5e52788cdfb1de48d5 /src/core/cpu/kernels/softmax/impl/NEON/list.h
parentca419dde35118fcfe07fa0a5ce388c0a40b75c49 (diff)
downloadComputeLibrary-dcf3c7e1591cfac19ee2b800141df3b3fe45062d.tar.gz
Move utility functions to NE/SVEMath
To avoid unused function warnings when only partial data types are selected, the definition of functions are moved. Partially Resolves: COMPMID-4282 Change-Id: Ic30ddd3f2c88cac5978d27e5f4ada3639b5a04e5 Signed-off-by: Sang-Hoon Park <sang-hoon.park@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5215 Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/cpu/kernels/softmax/impl/NEON/list.h')
-rw-r--r--src/core/cpu/kernels/softmax/impl/NEON/list.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/core/cpu/kernels/softmax/impl/NEON/list.h b/src/core/cpu/kernels/softmax/impl/NEON/list.h
index 3f9438e0c7..740e6ea9bc 100644
--- a/src/core/cpu/kernels/softmax/impl/NEON/list.h
+++ b/src/core/cpu/kernels/softmax/impl/NEON/list.h
@@ -33,43 +33,6 @@ namespace arm_compute
{
namespace cpu
{
-namespace
-{
-template <typename float_vec_type, typename int_vec_type>
-int_vec_type convert_float_to_int(const float_vec_type &in);
-
-template <typename float_vec_type, typename int_vec_type>
-float_vec_type convert_int_to_float(const int_vec_type &in);
-
-template <>
-uint8x16_t convert_float_to_int<float32x4x4_t, uint8x16_t>(const float32x4x4_t &in)
-{
- uint8x16_t out;
- convert_float32x4x4_to_uint8x16(in, out);
- return out;
-}
-
-template <>
-int8x16_t convert_float_to_int<float32x4x4_t, int8x16_t>(const float32x4x4_t &in)
-{
- int8x16_t out;
- convert_float32x4x4_to_int8x16(in, out);
- return out;
-}
-
-template <>
-float32x4x4_t convert_int_to_float<float32x4x4_t, uint8x16_t>(const uint8x16_t &in)
-{
- return convert_uint8x16_to_float32x4x4(in);
-}
-
-template <>
-float32x4x4_t convert_int_to_float<float32x4x4_t, int8x16_t>(const int8x16_t &in)
-{
- return convert_int8x16_to_float32x4x4(in);
-}
-} // namespace
-
template <typename T>
void neon_logits_1d_max(const ITensor *in, ITensor *out, const Window &window)
{