Home
last modified time | relevance | path

Searched refs:inputsQScale (Results 1 – 5 of 5) sorted by relevance

/external/armnn/src/backends/backendsCommon/test/
DLayerReleaseConstantDataTest.cpp182 float inputsQScale = 1.0f; variable
185 TensorInfo weightsInfo = TensorInfo({ 7, 20 }, DataType::QAsymmU8, inputsQScale, 0.0, true);
186 …TensorInfo biasInfo = TensorInfo({ 7 }, GetBiasDataType(DataType::QAsymmU8), inputsQScale, 0.0, tr…
199 … Connect(input, fullyConnectedLayer, TensorInfo({ 3, 1, 4, 5 }, DataType::QAsymmU8, inputsQScale));
/external/armnn/src/armnnTestUtils/
DCreateWorkload.hpp524 float inputsQScale = 1.0f; local
533 armnn::TensorInfo weightsTensorInfo(weightShape, DataType, inputsQScale);
545 Connect(input, layer, TensorInfo(inputShape, DataType, inputsQScale));
588 float inputsQScale = 1.0f; local
597 armnn::TensorInfo weightsTensorInfo(weightShape, DataType, inputsQScale);
599 armnn::TensorInfo biasTensorInfo({2}, DataType, inputsQScale);
630 Connect(input, layer, TensorInfo(inputShape, DataType, inputsQScale));
681 float inputsQScale = 1.0f; local
691 armnn::TensorInfo weightsTensorInfo(weightShape, DataType, inputsQScale);
693 armnn::TensorInfo biasTensorInfo(biasShape, DataType, inputsQScale);
[all …]
/external/armnn/src/backends/reference/test/
DRefCreateWorkloadTests.cpp482 float inputsQScale = 1.0f; variable
485 TensorInfo({ 3, 1, 4, 5 }, armnn::DataType::Float32, inputsQScale),
499 float inputsQScale = 1.0f; variable
502 TensorInfo({ 3, 1, 4, 5 }, armnn::DataType::Float32, inputsQScale),
503 TensorInfo({ 7, 20 }, armnn::DataType::Float32, inputsQScale),
515 float inputsQScale = DataType == armnn::DataType::QAsymmU8 ? 1.0f : 1.0f; in RefCreateFullyConnectedWorkloadTest() local
518 TensorInfo({ 3, 1, 4, 5 }, DataType, inputsQScale), in RefCreateFullyConnectedWorkloadTest()
/external/armnn/src/backends/neon/test/
DNeonCreateWorkloadTests.cpp360 float inputsQScale = 1.0f; in NeonCreateFullyConnectedWorkloadTest() local
362 CHECK(TestNeonTensorHandleInfo(inputHandle, TensorInfo({3, 1, 4, 5}, DataType, inputsQScale))); in NeonCreateFullyConnectedWorkloadTest()
/external/armnn/src/backends/backendsCommon/test/layerTests/
DConv2dTestImpl.cpp3081 float inputsQScale = armnn::IsQuantizedType<T>() ? 1.0f : 0; in CompareDepthwiseConvolution2dTestImpl() local
3085 inputTensorInfo = armnn::TensorInfo(4, inputShape.data(), ArmnnType, inputsQScale, qOffset); in CompareDepthwiseConvolution2dTestImpl()
3087 kernelDesc = armnn::TensorInfo(4, kernelShape.data(), ArmnnType, inputsQScale, qOffset); in CompareDepthwiseConvolution2dTestImpl()
3088 …= armnn::TensorInfo(1, biasShape.data(), armnn::GetBiasDataType(ArmnnType), inputsQScale, qOffset); in CompareDepthwiseConvolution2dTestImpl()