/external/perfetto/src/profiling/symbolizer/ |
D | elf.h | 54 using Half = uint16_t; member 60 Half e_type; 61 Half e_machine; 67 Half e_ehsize; 68 Half e_phentsize; 69 Half e_phnum; 70 Half e_shentsize; 71 Half e_shnum; 72 Half e_shstrndx; 105 using Half = uint16_t; member [all …]
|
/external/armnn/src/armnn/test/optimizations/ |
D | ConvertConstantsFloatToHalfTests.cpp | 59 const Half* data = weightsLayer->m_LayerOutput->GetConstTensor<Half>(); 60 CHECK(data[0] == Half(1.0f)); 61 CHECK(data[1] == Half(2.0f)); 62 CHECK(data[2] == Half(3.0f)); 63 CHECK(data[3] == Half(4.0f)); 119 const Half* data = weights->m_LayerOutput->GetConstTensor<Half>(); 120 CHECK(data[0] == Half(1.0f)); 121 CHECK(data[1] == Half(2.0f)); 122 CHECK(data[2] == Half(3.0f)); 123 CHECK(data[3] == Half(4.0f)); [all …]
|
/external/deqp/modules/glshared/ |
D | glsVertexArrayTests.hpp | 318 class Half class in deqp::gls::GLValue 321 static Half create (float value) { Half h; h.m_value = floatToHalf(value); return h; } in create() 322 static Half fromFloat (float value) { Half h; h.m_value = floatToHalf(value); return h; } in fromFloat() 325 …inline Half operator+ (const Half& other) const { return create(halfToFloat(m_value) + halfToFl… in operator +() 326 …inline Half operator* (const Half& other) const { return create(halfToFloat(m_value) * halfToFl… in operator *() 327 …inline Half operator/ (const Half& other) const { return create(halfToFloat(m_value) / halfToFl… in operator /() 328 …inline Half operator% (const Half& other) const { return create(deFloatMod(halfToFloat(m_value)… in operator %() 329 …inline Half operator- (const Half& other) const { return create(halfToFloat(m_value) - halfToFl… in operator -() 331 …inline Half& operator+= (const Half& other) { m_value = floatToHalf(halfToFloat(other.getValue… in operator +=() 332 …inline Half& operator*= (const Half& other) { m_value = floatToHalf(halfToFloat(other.getValue… in operator *=() [all …]
|
/external/elfutils/libelf/ |
D | abstract.h | 35 TYPE_NAME (ElfW2(Bits, Ext##Half), e_type) \ 36 TYPE_NAME (ElfW2(Bits, Ext##Half), e_machine) \ 42 TYPE_NAME (ElfW2(Bits, Ext##Half), e_ehsize) \ 43 TYPE_NAME (ElfW2(Bits, Ext##Half), e_phentsize) \ 44 TYPE_NAME (ElfW2(Bits, Ext##Half), e_phnum) \ 45 TYPE_NAME (ElfW2(Bits, Ext##Half), e_shentsize) \ 46 TYPE_NAME (ElfW2(Bits, Ext##Half), e_shnum) \ 47 TYPE_NAME (ElfW2(Bits, Ext##Half), e_shstrndx) \ 120 TYPE_NAME (ElfW2(32, Ext##Half), st_shndx) \ 129 TYPE_NAME (ElfW2(64, Ext##Half), st_shndx) \ [all …]
|
/external/armnn/src/armnnUtils/ |
D | FloatingPointConverter.cpp | 23 armnn::Half* pHalf = static_cast<armnn::Half*>(dstFloat16Buffer); in ConvertFloat32To16() 27 pHalf[i] = armnn::Half(srcFloat32Buffer[i]); in ConvertFloat32To16() 38 const armnn::Half* pHalf = static_cast<const armnn::Half*>(srcFloat16Buffer); in ConvertFloat16To32()
|
D | Half.hpp | 22 using Half = half_float::half; //import half float implementation typedef 30 struct is_floating_point<armnn::Half> 35 struct is_floating_point<const armnn::Half> 40 struct is_floating_point<volatile armnn::Half>
|
/external/armnn/src/backends/backendsCommon/test/ |
D | Pooling2dEndToEndTestImpl.hpp | 82 using Half = half_float::half; in MaxPool2dEndToEndFloat16() typedef 90 std::vector<Half> inputData{ 1._h, 2._h, 3._h, in MaxPool2dEndToEndFloat16() 93 std::vector<Half> expectedOutput{ 5._h, 6._h, 6._h, in MaxPool2dEndToEndFloat16() 97 std::map<int, std::vector<Half>> inputTensorData = { { 0, inputData } }; in MaxPool2dEndToEndFloat16() 98 std::map<int, std::vector<Half>> expectedOutputData = { { 0, expectedOutput } }; in MaxPool2dEndToEndFloat16() 146 using Half = half_float::half; in AvgPool2dEndToEndFloat16() typedef 155 std::vector<Half> inputData{ 1._h, 2._h, 3._h, in AvgPool2dEndToEndFloat16() 158 std::vector<Half> expectedOutput{ 1.33333_h, 2.33333_h, 1.77778_h, in AvgPool2dEndToEndFloat16() 162 std::map<int, std::vector<Half>> inputTensorData = { { 0, inputData } }; in AvgPool2dEndToEndFloat16() 163 std::map<int, std::vector<Half>> expectedOutputData = { { 0, expectedOutput } }; in AvgPool2dEndToEndFloat16()
|
D | SubtractionEndToEndTestImpl.hpp | 75 using Half = half_float::half; in SubtractionEndToEndFloat16() typedef 84 std::vector<Half> inputXData{ 11._h, 12._h, in SubtractionEndToEndFloat16() 86 std::vector<Half> inputYData{ 5._h, 7._h, in SubtractionEndToEndFloat16() 88 std::vector<Half> expectedOutput{ 6._h, 5._h, in SubtractionEndToEndFloat16() 91 std::map<int, std::vector<Half>> inputTensorData = {{ 0, inputXData }, { 1, inputYData }}; in SubtractionEndToEndFloat16() 92 std::map<int, std::vector<Half>> expectedOutputData = { { 0, expectedOutput } }; in SubtractionEndToEndFloat16()
|
D | AdditionEndToEndTestImpl.hpp | 87 using Half = half_float::half; in AdditionEndToEndFloat16() typedef 96 std::vector<Half> inputXData{ 1._h, 2._h, in AdditionEndToEndFloat16() 98 std::vector<Half> inputYData{ 5._h, 7._h, in AdditionEndToEndFloat16() 100 std::vector<Half> expectedOutput{ 6._h, 9._h, in AdditionEndToEndFloat16() 103 std::map<int, std::vector<Half>> inputTensorData = {{ 0, inputXData }, { 1, inputYData }}; in AdditionEndToEndFloat16() 104 std::map<int, std::vector<Half>> expectedOutputData = { { 0, expectedOutput } }; in AdditionEndToEndFloat16()
|
D | MultiplicationEndToEndTestImpl.hpp | 75 using Half = half_float::half; in MultiplicationEndToEndFloat16() typedef 84 std::vector<Half> inputXData{ 1._h, 2._h, in MultiplicationEndToEndFloat16() 86 std::vector<Half> inputYData{ 1._h, 2._h, in MultiplicationEndToEndFloat16() 88 std::vector<Half> expectedOutput{ 1._h, 4._h, in MultiplicationEndToEndFloat16() 91 std::map<int, std::vector<Half>> inputTensorData = {{ 0, inputXData }, { 1, inputYData }}; in MultiplicationEndToEndFloat16() 92 std::map<int, std::vector<Half>> expectedOutputData = { { 0, expectedOutput } }; in MultiplicationEndToEndFloat16()
|
D | SliceEndToEndTestImpl.hpp | 75 using Half = half_float::half; in SliceEndToEndFloat16() typedef 87 std::vector<Half> inputData{ 1._h, 1._h, 1._h, 2._h, 2._h, 2._h, in SliceEndToEndFloat16() 90 std::vector<Half> expectedOutput{ 3._h, 3._h, 3._h, in SliceEndToEndFloat16() 93 std::map<int, std::vector<Half>> inputTensorData = { { 0, inputData } }; in SliceEndToEndFloat16() 94 std::map<int, std::vector<Half>> expectedOutputData = { { 0, expectedOutput } }; in SliceEndToEndFloat16()
|
D | ReshapeEndToEndTestImpl.hpp | 71 using Half = half_float::half; in ReshapeEndToEndFloat16() typedef 82 std::vector<Half> data{ 1._h, 2._h, 3._h, in ReshapeEndToEndFloat16() 85 std::map<int, std::vector<Half>> inputTensorData = { { 0, data } }; in ReshapeEndToEndFloat16() 86 std::map<int, std::vector<Half>> expectedOutputData = { { 0, data } }; in ReshapeEndToEndFloat16()
|
/external/android-nn-driver/test/1.2/ |
D | Mean.cpp | 13 using Half = half_float::half; typedef 61 inLoc.length = input.GetNumElements() * sizeof(Half); in MeanTestImpl() 70 outLoc.length = expectedOutput.GetNumElements() * sizeof(Half); in MeanTestImpl() 84 …android::sp<IMemory> outMemory = AddPoolAndGetData<Half>(expectedOutput.GetNumElements(), request); in MeanTestImpl() 85 const Half* outputData = static_cast<const Half*>(static_cast<void*>(outMemory->getPointer())); in MeanTestImpl() 93 const Half* expectedOutputData = expectedOutput.GetData(); in MeanTestImpl() 143 … std::vector<Half> in = { 1.0_h, 2.0_h, 3.0_h, 4.0_h, 5.0_h, 6.0_h, 7.0_h, 8.0_h, 9.0_h, 10.0_h, 151 std::vector<Half> out = { 12.0_h, 13.0_h }; 161 std::vector<Half> in = { 1.0_h, 1.0_h, 2.0_h, 2.0_h, 3.0_h, 3.0_h }; 166 std::vector<Half> out = { 2.0_h, 2.0_h };
|
/external/armnn/src/backends/backendsCommon/test/layerTests/ |
D | MinimumTestImpl.cpp | 106 LayerTestResult<armnn::Half, 4> MinimumFloat16Test( in MinimumFloat16Test() 115 std::vector<armnn::Half> input0 = in MinimumFloat16Test() 121 std::vector<armnn::Half> input1 = in MinimumFloat16Test() 127 std::vector<armnn::Half> output in MinimumFloat16Test() 145 LayerTestResult<armnn::Half, 4> MinimumBroadcast1ElementFloat16Test( in MinimumBroadcast1ElementFloat16Test() 155 std::vector<armnn::Half> input0 = in MinimumBroadcast1ElementFloat16Test() 161 std::vector<armnn::Half> input1 = { 2._h }; in MinimumBroadcast1ElementFloat16Test() 163 std::vector<armnn::Half> output = in MinimumBroadcast1ElementFloat16Test() 181 LayerTestResult<armnn::Half, 4> MinimumBroadcast1DVectorFloat16Test( in MinimumBroadcast1DVectorFloat16Test() 190 std::vector<armnn::Half> input0 = in MinimumBroadcast1DVectorFloat16Test() [all …]
|
D | SubtractionTestImpl.cpp | 183 LayerTestResult<armnn::Half, 4> SubtractionFloat16Test( in SubtractionFloat16Test() 193 std::vector<armnn::Half> input0 = { 1._h, 2._h, 3._h, 4._h }; in SubtractionFloat16Test() 194 std::vector<armnn::Half> input1 = { 1._h, -1._h, 0._h, 2._h }; in SubtractionFloat16Test() 195 std::vector<armnn::Half> output = { 0._h, 3._h, 3._h, 2._h }; in SubtractionFloat16Test() 209 LayerTestResult<armnn::Half, 4> SubtractionBroadcast1ElementFloat16Test( in SubtractionBroadcast1ElementFloat16Test() 219 std::vector<armnn::Half> input0 = { 1._h, 2._h, 3._h, 4._h }; in SubtractionBroadcast1ElementFloat16Test() 221 std::vector<armnn::Half> input1 = { 10._h }; in SubtractionBroadcast1ElementFloat16Test() 223 std::vector<armnn::Half> output = { -9._h, -8._h, -7._h, -6._h }; in SubtractionBroadcast1ElementFloat16Test() 237 LayerTestResult<armnn::Half, 4> SubtractionBroadcastFloat16Test( in SubtractionBroadcastFloat16Test() 247 std::vector<armnn::Half> input0 = { 1._h, 2._h, 3._h, 4._h }; in SubtractionBroadcastFloat16Test() [all …]
|
D | MaximumTestImpl.cpp | 122 LayerTestResult<armnn::Half, 4> MaximumFloat16Test( in MaximumFloat16Test() 136 std::vector<armnn::Half> input0 = in MaximumFloat16Test() 142 std::vector<armnn::Half> input1 = in MaximumFloat16Test() 148 std::vector<armnn::Half> output = in MaximumFloat16Test() 166 LayerTestResult<armnn::Half, 4> MaximumBroadcast1ElementFloat16Test( in MaximumBroadcast1ElementFloat16Test() 176 std::vector<armnn::Half> input0 = { 1._h, 2._h, 3._h, 4._h, 5._h, 6._h, 7._h, 8._h }; in MaximumBroadcast1ElementFloat16Test() 178 std::vector<armnn::Half> input1 = { 2._h }; in MaximumBroadcast1ElementFloat16Test() 180 std::vector<armnn::Half> output = { 2._h, 2._h, 3._h, 4._h, 5._h, 6._h, 7._h, 8._h }; in MaximumBroadcast1ElementFloat16Test() 194 LayerTestResult<armnn::Half, 4> MaximumBroadcast1DVectorFloat16Test( in MaximumBroadcast1DVectorFloat16Test() 204 std::vector<armnn::Half> input0 = in MaximumBroadcast1DVectorFloat16Test() [all …]
|
D | SpaceToBatchNdTestImpl.hpp | 34 LayerTestResult<armnn::Half, 4> SpaceToBatchNdSimpleFloat16Test( 39 LayerTestResult<armnn::Half, 4> SpaceToBatchNdMultiChannelsFloat16Test( 44 LayerTestResult<armnn::Half, 4> SpaceToBatchNdMultiBlockFloat16Test( 49 LayerTestResult<armnn::Half, 4> SpaceToBatchNdPaddingFloat16Test( 94 LayerTestResult<armnn::Half, 4> SpaceToBatchNdSimpleNhwcFloat16Test( 99 LayerTestResult<armnn::Half, 4> SpaceToBatchNdMultiChannelsNhwcFloat16Test( 104 LayerTestResult<armnn::Half, 4> SpaceToBatchNdMultiBlockNhwcFloat16Test( 109 LayerTestResult<armnn::Half, 4> SpaceToBatchNdPaddingNhwcFloat16Test(
|
D | DivisionTestImpl.cpp | 166 LayerTestResult<armnn::Half, 4> DivisionFloat16Test( in DivisionFloat16Test() 180 std::vector<armnn::Half> input0 = in DivisionFloat16Test() 186 std::vector<armnn::Half> input1 = in DivisionFloat16Test() 192 std::vector<armnn::Half> output = in DivisionFloat16Test() 210 LayerTestResult<armnn::Half, 4> DivisionBroadcast1ElementFloat16Test( in DivisionBroadcast1ElementFloat16Test() 220 std::vector<armnn::Half> input0({ 2._h, 4._h, 6._h, 8._h, 10._h, 12._h, 14._h, 16._h}); in DivisionBroadcast1ElementFloat16Test() 222 std::vector<armnn::Half> input1({ 2._h }); in DivisionBroadcast1ElementFloat16Test() 224 std::vector<armnn::Half> output({ 1._h, 2._h, 3._h, 4._h, 5._h, 6._h, 7._h, 8._h}); in DivisionBroadcast1ElementFloat16Test() 238 LayerTestResult<armnn::Half, 4> DivisionBroadcast1DVectorFloat16Test( in DivisionBroadcast1DVectorFloat16Test() 248 std::vector<armnn::Half> input0 = in DivisionBroadcast1DVectorFloat16Test() [all …]
|
D | ConvertFp32ToFp16TestImpl.cpp | 14 LayerTestResult<armnn::Half, 4> SimpleConvertFp32ToFp16Test( in SimpleConvertFp32ToFp16Test() 31 std::vector<armnn::Half> expectedOutput = in SimpleConvertFp32ToFp16Test() 37 std::vector<armnn::Half> actualOutput(outputTensorInfo.GetNumElements()); in SimpleConvertFp32ToFp16Test() 60 return LayerTestResult<armnn::Half, 4>(actualOutput, in SimpleConvertFp32ToFp16Test()
|
D | DequantizeTestImpl.hpp | 39 LayerTestResult<armnn::Half, 4> DequantizeSimpleUint8ToFp16Test( 43 LayerTestResult<armnn::Half, 4> DequantizeSimpleInt8ToFp16Test( 47 LayerTestResult<armnn::Half, 4> DequantizeSimpleInt16ToFp16Test(
|
/external/android-nn-driver/test/ |
D | TestHalfTensor.hpp | 13 using Half = half_float::half; typedef 22 const std::vector<Half> & data) in TestHalfTensor() 31 const Half * GetData() const; 35 std::vector<Half> m_Data;
|
/external/armnn/src/armnn/test/ |
D | FloatingPointConverterTest.cpp | 23 std::vector<armnn::Half> convertedBuffer(numFloats, 0.0_h); 29 armnn::Half expected(floatArray[i]); 30 armnn::Half actual = convertedBuffer[i]; 42 armnn::Half halfArray[] = { 1.0_h, 2.0_h, 0.5_h, 3.1_h, 2.4_h,
|
/external/armnn/delegate/test/ |
D | TestUtils.hpp | 15 using Half = half_float::half; typedef 47 void CompareData(Half tensor1[], Half tensor2[], size_t tensorSize); 53 void CompareData(TfLiteFloat16 tensor1[], Half tensor2[], size_t tensorSize);
|
/external/armnn/src/backends/reference/workloads/ |
D | RefWorkloadUtils.hpp | 68 const Half* GetInputTensorDataHalf(unsigned int idx, const PayloadType& data) in GetInputTensorDataHalf() 70 return GetInputTensorData<Half>(idx, data); in GetInputTensorDataHalf() 74 Half* GetOutputTensorDataHalf(unsigned int idx, const PayloadType& data) in GetOutputTensorDataHalf() 76 return GetOutputTensorData<Half>(idx, data); in GetOutputTensorDataHalf()
|
/external/clang/include/clang/AST/ |
D | PrettyPrinter.h | 52 Half(LO.Half), MSWChar(LO.MicrosoftExt && !LO.WChar), in PrintingPolicy() 190 unsigned Half : 1; member
|