Home
last modified time | relevance | path

Searched refs:FLOAT16 (Results 1 – 25 of 69) sorted by relevance

123

/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dtensor_test.cc134 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 …]
Dcl_context.cc59 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()
Dcl_image_format.cc41 case DataType::FLOAT16: in ToImageChannelType()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/task/
Dweights_conversion.cc51 } 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()
Dtexture2d_desc.cc64 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/
Ddata_type.cc29 case DataType::FLOAT16: in SizeOf()
49 case DataType::FLOAT16: in ToString()
80 case DataType::FLOAT16: in ToCLDataType()
111 case DataType::FLOAT16: in ToMetalDataType()
Dprecision.cc36 return DataType::FLOAT16; in DeduceDataTypeFromPrecision()
Ddata_type.h27 FLOAT16 = 1, enumerator
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
Dgl_texture_helper.cc33 case DataType::FLOAT16: in ToTextureFormat()
56 case DataType::FLOAT16: in ToTextureInternalFormat()
79 case DataType::FLOAT16: in ToTextureDataType()
Dfloat16_conversions.cc65 object->data_type = DataType::FLOAT16; in MaybeConvertToFloat16()
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/compiler/
Dobject_accessor.cc49 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/
DvktComputeWorkgroupMemoryExplicitLayoutTests.cpp550 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/
Ddepthwise_conv.h92 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()
Dconvolution_transposed.h104 : 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()
Ddepthwise_conv_3x3_stride_h2.h94 desc.element_type = fp32_weights ? DataType::FLOAT32 : DataType::FLOAT16; in UploadWeightsAndBiases()
102 desc.element_type = fp32_weights ? DataType::FLOAT32 : DataType::FLOAT16; in UploadWeightsAndBiases()
Ddepthwise_conv_3x3.h100 desc.element_type = fp32_weights ? DataType::FLOAT32 : DataType::FLOAT16; in UploadWeightsAndBiases()
108 desc.element_type = fp32_weights ? DataType::FLOAT32 : DataType::FLOAT16; in UploadWeightsAndBiases()
Dfully_connected.h160 desc.element_type = f32_weights ? DataType::FLOAT32 : DataType::FLOAT16; in UploadWeights()
177 desc.element_type = f32_weights ? DataType::FLOAT32 : DataType::FLOAT16; in UploadWeights()
Dwinograd.cc263 ? 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/
Dmetal_spatial_tensor_test.mm147 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/
Dconverter.cc74 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/
Dmodel_coverage_quantization_test.py43 FLOAT16 = "float16" variable in QuantizationType
98 if quantization_type == QuantizationType.FLOAT16:
/external/libtextclassifier/native/lang_id/common/
Dembedding-network-params.cc36 return QuantizationType::FLOAT16; in ParseQuantizationType()
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingDataSpillTests.cpp81 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/
Dfc_fc_add.h137 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/
Dtensorflow.lite.constants.pbtxt8 name: "FLOAT16"

123