24 #ifndef ARM_COMPUTE_TEST_DEPTH_CONVERT_H 25 #define ARM_COMPUTE_TEST_DEPTH_CONVERT_H 38 template < typename T1, typename T2, typename std::enable_if < std::is_integral<T1>::value &&!std::is_same<T1, T2>::value,
int >
::type = 0 >
41 template < typename T1, typename T2, typename std::enable_if < is_floating_point<T1>::value &&(!std::is_same<T1, T2>::value &&!std::is_same<T2, bfloat16>::value),
int >::
type = 0 >
44 template < typename T1, typename T2, typename std::enable_if < std::is_same<T1, bfloat16>::value || std::is_same<T2, bfloat16>::value,
int >::type = 0 >
decltype(strategy::transforms) typedef type
SimpleTensor< float > src
Copyright (c) 2017-2021 Arm Limited.
SimpleTensor< T2 > depth_convert(const SimpleTensor< T1 > &src, DataType dt_out, ConvertPolicy policy, uint32_t shift)
DataType
Available data types.
ConvertPolicy
Policy to handle overflow.