Home
last modified time | relevance | path

Searched refs:IsQuantizedType (Results 1 – 25 of 47) sorted by relevance

12

/external/armnn/src/backends/cl/workloads/
DClMultiplicationWorkload.cpp27 …auto convertPolicy = (IsQuantizedType(input0.GetDataType()) || IsQuantizedType(input1.GetDataType(… in ClMultiplicationWorkloadValidate()
58 auto convertPolicy = (IsQuantizedType(info.m_InputTensorInfos[0].GetDataType()) || in ClMultiplicationWorkload()
59 IsQuantizedType(info.m_InputTensorInfos[1].GetDataType())) ? in ClMultiplicationWorkload()
/external/armnn/src/backends/neon/workloads/
DNeonMultiplicationWorkload.cpp28 …auto convertPolicy = (IsQuantizedType(input0.GetDataType()) || IsQuantizedType(input1.GetDataType(… in NeonMultiplicationWorkloadValidate()
57 auto convertPolicy = (IsQuantizedType(info.m_InputTensorInfos[0].GetDataType()) || in NeonMultiplicationWorkload()
58 IsQuantizedType(info.m_InputTensorInfos[1].GetDataType())) ? in NeonMultiplicationWorkload()
/external/armnn/src/backends/backendsCommon/test/layerTests/
DReduceSumTestImpl.cpp95 if (armnn::IsQuantizedType<T>()) in ReduceSumSimpleTest()
128 if (armnn::IsQuantizedType<T>()) in ReduceSumSingleAxisTest1()
169 if (armnn::IsQuantizedType<T>()) in ReduceSumSingleAxisTest2()
228 if (armnn::IsQuantizedType<T>()) in ReduceSumSingleAxisTest3()
293 if (armnn::IsQuantizedType<T>()) in ReduceSumMultipleAxisTest()
DReductionTestImpl.cpp96 if (armnn::IsQuantizedType<T>()) in ReduceMaxSimpleTest()
136 if (armnn::IsQuantizedType<T>()) in ReduceMaxNegativeAxisTest()
177 if (armnn::IsQuantizedType<T>()) in ReduceMaxSimpleTest2()
219 if (armnn::IsQuantizedType<T>()) in ReduceMinSimpleTest()
259 if (armnn::IsQuantizedType<T>()) in ReduceMinNegativeAxisTest()
DReduceProdTestImpl.cpp94 if (armnn::IsQuantizedType<T>()) in ReduceProdSimpleTest()
127 if (armnn::IsQuantizedType<T>()) in ReduceProdSingleAxisTest1()
164 if (armnn::IsQuantizedType<T>()) in ReduceProdSingleAxisTest2()
223 if (armnn::IsQuantizedType<T>()) in ReduceProdSingleAxisTest3()
288 if (armnn::IsQuantizedType<T>()) in ReduceProdMultipleAxisTest()
DPermuteTestImpl.hpp80 if(armnn::IsQuantizedType<T>()) in SimplePermuteTest()
130 if(armnn::IsQuantizedType<T>()) in PermuteValueSet1Test()
181 if(armnn::IsQuantizedType<T>()) in PermuteValueSet2Test()
232 if(armnn::IsQuantizedType<T>()) in PermuteValueSet3Test()
DTransposeTestImpl.hpp82 if(armnn::IsQuantizedType<T>()) in SimpleTransposeTest()
132 if(armnn::IsQuantizedType<T>()) in TransposeValueSet1Test()
183 if(armnn::IsQuantizedType<T>()) in TransposeValueSet2Test()
234 if(armnn::IsQuantizedType<T>()) in TransposeValueSet3Test()
DArgMinMaxTestImpl.cpp76 if (armnn::IsQuantizedType<T>()) in ArgMaxSimpleTest()
104 if (armnn::IsQuantizedType<T>()) in ArgMinSimpleTest()
132 if (armnn::IsQuantizedType<T>()) in ArgMinChannelTest()
168 if (armnn::IsQuantizedType<T>()) in ArgMaxChannelTest()
205 if (armnn::IsQuantizedType<T>()) in ArgMaxHeightTest()
241 if (armnn::IsQuantizedType<T>()) in ArgMinWidthTest()
DGatherTestImpl.cpp81 if (armnn::IsQuantizedType<T>()) in Gather1dParamsTestImpl()
115 if (armnn::IsQuantizedType<T>()) in Gather1dParamsAxisTestImpl()
154 if (armnn::IsQuantizedType<T>()) in GatherMultiDimParamsTestImpl()
187 if (armnn::IsQuantizedType<T>()) in GatherMultiDimParamsMultiDimIndicesTestImpl()
249 if (armnn::IsQuantizedType<T>()) in GatherMultiDimParamsMultiDimIndicesAxis1TestImpl()
322 if (armnn::IsQuantizedType<T>()) in GatherMultiDimParamsMultiDimIndicesAxis2TestImpl()
DGatherNdTestImpl.cpp76 if (armnn::IsQuantizedType<T>()) in SimpleGatherNd2dTest()
120 if (armnn::IsQuantizedType<T>()) in SimpleGatherNd3dTest()
181 if (armnn::IsQuantizedType<T>()) in SimpleGatherNd4dTest()
DPooling2dTestImpl.cpp68 if(armnn::IsQuantizedType<T>()) in SimplePooling2dTestImpl()
166 if(armnn::IsQuantizedType<T>()) in SimpleMaxPooling2dSize3x3Stride2x4TestCommon()
276 if(armnn::IsQuantizedType<T>()) in SimpleMaxPooling2dTestCommon()
345 if(armnn::IsQuantizedType<T>()) in SimpleAveragePooling2dTestCommon()
416 if(armnn::IsQuantizedType<T>()) in LargeTensorsAveragePooling2dTestCommon()
782 if(armnn::IsQuantizedType<T>()) in ComparePooling2dTestCommon()
925 if(armnn::IsQuantizedType<T>()) in SimpleMaxPooling2dSize2x2Stride2x2TestCommon()
1005 if(armnn::IsQuantizedType<T>()) in IgnorePaddingAveragePooling2dSize3x2Stride2x2TestCommon()
1047 if(armnn::IsQuantizedType<T>()) in IgnorePaddingSimpleMaxPooling2dTestCommon()
1099 if(armnn::IsQuantizedType<T>()) in IgnorePaddingMaxPooling2dSize3TestCommon()
[all …]
DPooling3dTestImpl.cpp81 if (armnn::IsQuantizedType<T>()) in SimplePooling3dTestImpl()
189 if(armnn::IsQuantizedType<T>()) in SimpleMaxPooling3dSize2x2x2Stride1x1x1TestCommon()
286 if(armnn::IsQuantizedType<T>()) in SimpleMaxPooling3dTestCommon()
365 if(armnn::IsQuantizedType<T>()) in IgnorePaddingSimpleMaxPooling3dTestCommon()
444 if(armnn::IsQuantizedType<T>()) in SimpleAveragePooling3dTestCommon()
523 if(armnn::IsQuantizedType<T>()) in LargeTensorsAveragePooling3dTestCommon()
577 if(armnn::IsQuantizedType<T>()) in IgnorePaddingSimpleAveragePooling3dTestCommon()
656 if(armnn::IsQuantizedType<T>()) in SimpleL2Pooling3dTestCommon()
735 if(armnn::IsQuantizedType<T>()) in IgnorePaddingSimpleL2Pooling3dTestCommon()
1147 if(armnn::IsQuantizedType<T>()) in ComparePooling3dTestCommon()
DCastTestImpl.cpp23 if(armnn::IsQuantizedType<TInput>()) in CastTest()
28 if(armnn::IsQuantizedType<TOutput>()) in CastTest()
/external/armnn/src/backends/backendsCommon/test/
DTransposeConvolution2dEndToEndTestImpl.hpp65 const float qScale = IsQuantizedType<T>() ? 0.25f : 1.0f; in TransposeConvolution2dEndToEnd()
66 const int32_t qOffset = IsQuantizedType<T>() ? 50 : 0; in TransposeConvolution2dEndToEnd()
158 const float qScale = IsQuantizedType<T>() ? 0.25f : 1.0f; in SimpleTransposeConvolution2dEndToEnd()
159 const int32_t qOffset = IsQuantizedType<T>() ? 50 : 0; in SimpleTransposeConvolution2dEndToEnd()
DElementwiseUnaryEndToEndTestImpl.hpp54 const float qScale = IsQuantizedType<TInput>() ? 0.25f : 1.0f; in ElementwiseUnarySimpleEndToEnd()
55 const int32_t qOffset = IsQuantizedType<TInput>() ? 50 : 0; in ElementwiseUnarySimpleEndToEnd()
DElementwiseBinaryEndToEndTestImpl.hpp56 const float qScale = IsQuantizedType<TInput>() ? 0.25f : 1.0f; in ElementwiseBinarySimpleEndToEnd()
57 const int32_t qOffset = IsQuantizedType<TInput>() ? 50 : 0; in ElementwiseBinarySimpleEndToEnd()
DResizeEndToEndTestImpl.hpp54 const float qScale = IsQuantizedType<T>() ? 0.25f : 1.0f; in ResizeEndToEnd()
55 const int32_t qOffset = IsQuantizedType<T>() ? 50 : 0; in ResizeEndToEnd()
DConvolution2dEndToEndTestImpl.hpp59 const float qScale = IsQuantizedType<T>() ? 0.25f : 1.0f; in Convolution2dEndToEnd()
60 const int32_t qOffset = IsQuantizedType<T>() ? 50 : 0; in Convolution2dEndToEnd()
DConvolution3dEndToEndTestImpl.hpp56 const float qScale = IsQuantizedType<T>() ? 0.25f : 1.0f; in Convolution3dEndToEnd()
57 const int32_t qOffset = IsQuantizedType<T>() ? 50 : 0; in Convolution3dEndToEnd()
DDepthwiseConvolution2dEndToEndTests.hpp56 const float qScale = IsQuantizedType<T>() ? 0.25f : 1.0f; in DepthwiseConvolution2dEndToEnd()
57 const int32_t qOffset = IsQuantizedType<T>() ? 50 : 0; in DepthwiseConvolution2dEndToEnd()
DArgMinMaxEndToEndTestImpl.hpp47 const float qScale = armnn::IsQuantizedType<T>() ? 2.0f : 1.0f; in ArgMinMaxEndToEndImpl()
48 const int32_t qOffset = armnn::IsQuantizedType<T>() ? 2 : 0; in ArgMinMaxEndToEndImpl()
DDepthToSpaceEndToEndTestImpl.hpp54 if (IsQuantizedType<T>()) in DepthToSpaceEndToEndImpl()
/external/armnn/src/armnn/
DTypesUtils.cpp32 static_assert(IsQuantizedType<QuantizedType>(), "Not an integer type."); in Quantize()
48 static_assert(IsQuantizedType<QuantizedType>(), "Not an integer type."); in Dequantize()
/external/armnn/include/armnnUtils/
DQuantizeHelper.hpp87 return SelectiveQuantizer<T, armnn::IsQuantizedType<T>()>::Quantize(value, scale, offset); in SelectiveQuantize()
93 return SelectiveQuantizer<T, armnn::IsQuantizedType<T>()>::Dequantize(value, scale, offset); in SelectiveDequantize()
/external/armnn/include/armnn/
DTypesUtils.hpp298 constexpr bool IsQuantizedType() in IsQuantizedType() function
310 constexpr bool IsQuantizedType(DataType dataType) in IsQuantizedType() function

12