/external/tensorflow/tensorflow/lite/delegates/gpu/cl/ |
D | tensor_test.cc | 134 ASSERT_OK(TensorTests(DataType::FLOAT16, TensorStorageType::BUFFER, &env_)); in TEST_F() 144 TensorTests(DataType::FLOAT16, TensorStorageType::TEXTURE_2D, &env_)); in TEST_F() 154 TensorTests(DataType::FLOAT16, TensorStorageType::TEXTURE_3D, &env_)); in TEST_F() 164 TensorTests(DataType::FLOAT16, TensorStorageType::TEXTURE_ARRAY, &env_)); in TEST_F() 174 TensorTests(DataType::FLOAT16, TensorStorageType::IMAGE_BUFFER, &env_)); in TEST_F() 221 {DataType::FLOAT16, TensorStorageType::SINGLE_TEXTURE_2D, Layout::HWC}, in TEST_F() 225 {DataType::FLOAT16, TensorStorageType::SINGLE_TEXTURE_2D, Layout::HWC}, in TEST_F() 231 {DataType::FLOAT16, TensorStorageType::SINGLE_TEXTURE_2D, Layout::BHWC}, in TEST_F() 235 {DataType::FLOAT16, TensorStorageType::SINGLE_TEXTURE_2D, Layout::BHWC}, in TEST_F() 241 {DataType::FLOAT16, TensorStorageType::SINGLE_TEXTURE_2D, Layout::HWDC}, in TEST_F() [all …]
|
D | cl_context.cc | 59 IsEqualToImageFormat(format, DataType::FLOAT16, 1); in AddSupportedImageFormats() 62 IsEqualToImageFormat(format, DataType::FLOAT16, 2); in AddSupportedImageFormats() 65 IsEqualToImageFormat(format, DataType::FLOAT16, 3); in AddSupportedImageFormats() 68 IsEqualToImageFormat(format, DataType::FLOAT16, 4); in AddSupportedImageFormats()
|
D | cl_image_format.cc | 41 case DataType::FLOAT16: in ToImageChannelType()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/task/ |
D | weights_conversion.cc | 51 } else if (dst_type == DataType::FLOAT16) { in RearrangeWeights() 64 } else if (dst_type == DataType::FLOAT16) { in RearrangeWeights() 77 } else if (dst_type == DataType::FLOAT16) { in RearrangeWeights() 90 } else if (dst_type == DataType::FLOAT16) { in RearrangeWeights() 104 } else if (dst_type == DataType::FLOAT16) { in RearrangeWeights() 118 } else if (dst_type == DataType::FLOAT16) { in RearrangeWeights()
|
D | texture2d_desc.cc | 64 case DataType::FLOAT16: in PerformReadSelector() 71 read = normalized_type == DataType::FLOAT16 ? "read_imageh" in PerformReadSelector() 81 read = normalized_type == DataType::FLOAT16 ? "read_imageh" in PerformReadSelector()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/ |
D | data_type.cc | 29 case DataType::FLOAT16: in SizeOf() 49 case DataType::FLOAT16: in ToString() 80 case DataType::FLOAT16: in ToCLDataType() 111 case DataType::FLOAT16: in ToMetalDataType()
|
D | precision.cc | 36 return DataType::FLOAT16; in DeduceDataTypeFromPrecision()
|
D | data_type.h | 27 FLOAT16 = 1, enumerator
|
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/ |
D | gl_texture_helper.cc | 33 case DataType::FLOAT16: in ToTextureFormat() 56 case DataType::FLOAT16: in ToTextureInternalFormat() 79 case DataType::FLOAT16: in ToTextureDataType()
|
D | float16_conversions.cc | 65 object->data_type = DataType::FLOAT16; in MaybeConvertToFloat16()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/compiler/ |
D | object_accessor.cc | 49 if (data_type == DataType::FLOAT16) { in MaybeConvertToHalf() 58 if (data_type == DataType::FLOAT16) { in MaybeConvertFromHalf() 311 case DataType::FLOAT16: in ToBufferType() 337 case DataType::FLOAT16: in operator ()() 353 case DataType::FLOAT16: in operator ()() 372 case DataType::FLOAT16: in operator ()() 388 case DataType::FLOAT16: in operator ()() 423 case DataType::FLOAT16: in ToImageLayoutQualifier() 436 case DataType::FLOAT16: in ToImagePrecision() 590 if (o.second.data_type == DataType::FLOAT16 && in GetFunctionsDeclarations()
|
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeWorkgroupMemoryExplicitLayoutTests.cpp | 550 const int FLOAT16 = AliasTest::RequirementFloat16; in AddAliasTests() local 607 CASE_SAME_TYPE(FLOAT16, "f16", "float16_t v", "float16_t(-100.0)"), in AddAliasTests() 608 CASE_SAME_TYPE(FLOAT16, "f16vec2", "f16vec2 v", "f16vec2(100.0, -200.0)"), in AddAliasTests() 609 CASE_SAME_TYPE(FLOAT16, "f16vec3", "f16vec3 v", "f16vec3(100.0, -200.0, 300.0)"), in AddAliasTests() 610 CASE_SAME_TYPE(FLOAT16, "f16vec4", "f16vec4 v", "f16vec4(100.0, -200.0, 300.0, -400.0)"), in AddAliasTests() 619 CASE_SAME_TYPE(FLOAT16, "f16mat2x2", "f16mat2x2 v", "f16mat2x2(1, 2, 3, 4)"), in AddAliasTests() 620 CASE_SAME_TYPE(FLOAT16, "f16mat2x3", "f16mat2x3 v", "f16mat2x3(1, 2, 3, 4, 5, 6)"), in AddAliasTests() 621 CASE_SAME_TYPE(FLOAT16, "f16mat2x4", "f16mat2x4 v", "f16mat2x4(1, 2, 3, 4, 5, 6, 7, 8)"), in AddAliasTests() 622 CASE_SAME_TYPE(FLOAT16, "f16mat3x2", "f16mat3x2 v", "f16mat3x2(1, 2, 3, 4, 5, 6)"), in AddAliasTests() 623 CASE_SAME_TYPE(FLOAT16, "f16mat3x3", "f16mat3x3 v", "f16mat3x3(1, 2, 3, 4, 5, 6, 7, 8, 9)"), in AddAliasTests() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/ |
D | depthwise_conv.h | 92 desc.element_type = fp32_weights ? DataType::FLOAT32 : DataType::FLOAT16; in UploadWeightsForDWConv2D() 99 desc.element_type = fp32_weights ? DataType::FLOAT32 : DataType::FLOAT16; in UploadWeightsForDWConv2D() 167 desc.element_type = fp32_weights ? DataType::FLOAT32 : DataType::FLOAT16; in UploadWeightsForDWConv3D() 175 desc.element_type = fp32_weights ? DataType::FLOAT32 : DataType::FLOAT16; in UploadWeightsForDWConv3D()
|
D | convolution_transposed.h | 104 : DataType::FLOAT16; in UploadWeights() 179 desc.element_type = f32_weights ? DataType::FLOAT32 : DataType::FLOAT16; in UploadWeights() 191 desc.element_type = f32_weights ? DataType::FLOAT32 : DataType::FLOAT16; in UploadWeights()
|
D | depthwise_conv_3x3_stride_h2.h | 94 desc.element_type = fp32_weights ? DataType::FLOAT32 : DataType::FLOAT16; in UploadWeightsAndBiases() 102 desc.element_type = fp32_weights ? DataType::FLOAT32 : DataType::FLOAT16; in UploadWeightsAndBiases()
|
D | depthwise_conv_3x3.h | 100 desc.element_type = fp32_weights ? DataType::FLOAT32 : DataType::FLOAT16; in UploadWeightsAndBiases() 108 desc.element_type = fp32_weights ? DataType::FLOAT32 : DataType::FLOAT16; in UploadWeightsAndBiases()
|
D | fully_connected.h | 160 desc.element_type = f32_weights ? DataType::FLOAT32 : DataType::FLOAT16; in UploadWeights() 177 desc.element_type = f32_weights ? DataType::FLOAT32 : DataType::FLOAT16; in UploadWeights()
|
D | winograd.cc | 263 ? DataType::FLOAT16 in GetWinograd4x4To36TileX6Code() 277 std::string cl_type = accum_type == DataType::FLOAT16 ? "half" : "float"; in GetWinograd4x4To36TileX6Code() 544 ? DataType::FLOAT16 in GetWinograd36To4x4Tile4x1Code() 547 std::string cl_type = accum_type == DataType::FLOAT16 ? "half" : "float"; in GetWinograd36To4x4Tile4x1Code()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/ |
D | metal_spatial_tensor_test.mm | 147 auto status = TensorTests(DataType::FLOAT16, TensorStorageType::BUFFER, device); 159 auto status = TensorTests(DataType::FLOAT16, TensorStorageType::TEXTURE_2D, device); 171 auto status = TensorTests(DataType::FLOAT16, TensorStorageType::TEXTURE_3D, device); 183 auto status = TensorTests(DataType::FLOAT16, TensorStorageType::TEXTURE_ARRAY, device); 195 auto status = TensorTests(DataType::FLOAT16, TensorStorageType::IMAGE_BUFFER, device);
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/kernels/ |
D | converter.cc | 74 return type == DataType::FLOAT16 || type == DataType::FLOAT32; in IsSupportedDataType() 141 input_def.object_def.data_type == DataType::FLOAT16 || in Init() 142 output_def.object_def.data_type == DataType::FLOAT16; in Init() 221 input_def.object_def.data_type == DataType::FLOAT16 || in Init() 222 output_def.object_def.data_type == DataType::FLOAT16; in Init() 319 input_def.object_def.data_type == DataType::FLOAT16 || in Init() 320 output_def.object_def.data_type == DataType::FLOAT16; in Init()
|
/external/tensorflow/tensorflow/lite/testing/model_coverage/ |
D | model_coverage_quantization_test.py | 43 FLOAT16 = "float16" variable in QuantizationType 98 if quantization_type == QuantizationType.FLOAT16:
|
/external/libtextclassifier/native/lang_id/common/ |
D | embedding-network-params.cc | 36 return QuantizationType::FLOAT16; in ParseQuantizationType()
|
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/ |
D | vktRayTracingDataSpillTests.cpp | 81 FLOAT16, enumerator 154 case DataType::FLOAT16: dataSize = sizeof(tcu::Float16); break; in getElementSize() 253 …TypeIdx >= static_cast<int>(DataType::INT32) && dataTypeIdx <= static_cast<int>(DataType::FLOAT16)) in getGLSLInputValDecl() 308 std::make_pair(std::make_pair(DataType::FLOAT16, VectorType::SCALAR), "float16_t"), in getGLSLInputValDecl() 309 std::make_pair(std::make_pair(DataType::FLOAT16, VectorType::V2), "f16vec2"), in getGLSLInputValDecl() 310 std::make_pair(std::make_pair(DataType::FLOAT16, VectorType::V3), "f16vec3"), in getGLSLInputValDecl() 311 std::make_pair(std::make_pair(DataType::FLOAT16, VectorType::V4), "f16vec4"), in getGLSLInputValDecl() 312 std::make_pair(std::make_pair(DataType::FLOAT16, VectorType::A5), "float16_t"), in getGLSLInputValDecl() 477 else if (m_params.dataType == DataType::FLOAT16) in checkSupport() 749 else if (m_params.dataType == DataType::FLOAT16) in initPrograms() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/special/ |
D | fc_fc_add.h | 137 desc.element_type = f32_weights ? DataType::FLOAT32 : DataType::FLOAT16; in UploadWeights() 153 desc.element_type = f32_weights ? DataType::FLOAT32 : DataType::FLOAT16; in UploadWeights()
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.lite.constants.pbtxt | 8 name: "FLOAT16"
|