Home
last modified time | relevance | path

Searched refs:INT8 (Results 1 – 25 of 118) sorted by relevance

12345

/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Ddata_type.cc35 case DataType::INT8: in GetGlslPrecisionModifier()
56 case DataType::INT8: in SizeOf()
91 case DataType::INT8: in ToString()
124 case DataType::INT8: in ToCLDataType()
157 case DataType::INT8: in ToMetalDataType()
184 case DataType::INT8: in ToMetalTextureType()
209 case DataType::INT8: in ToGlslShaderDataType()
Ddata_type_test.cc72 ToGlslShaderDataType(DataType::INT8, 1, /*add_precision*/ false)); in TEST()
80 ToGlslShaderDataType(DataType::INT8, 1, /*add_precision*/ true)); in TEST()
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/generate/
Dpack_tests.py41 struct.AddField('testfield1', mojom.INT8)
71 (mojom.INT8, mojom.UINT8, mojom.INT32),
78 (mojom.INT8, mojom.INT32, mojom.UINT8),
84 kinds = (mojom.INT8, mojom.INT32, mojom.INT16, mojom.INT8, mojom.INT8)
110 (mojom.BOOL, mojom.INT8, mojom.STRING, mojom.UINT8,
123 struct.AddField('testfield1', mojom.INT8)
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/
Dmodify_io_nodes.mlir2 // RUN: tf-opt %s -tfl-modify-io-nodes="test-io-types=int8,int8" | FileCheck --check-prefix=INT8 %s
27 // INT8-LABEL: @modified(%arg0: tensor<1x224x224x3x!quant.uniform<i8:f32, 7.812500e-03>>) -> tensor…
28 // INT8-NEXT: %[[shape:.*]] = arith.constant dense<[1, 401408]> : tensor<2xi32>
29 // INT8-NEXT: %[[cst1:.*]] = "tfl.pseudo_qconst"() {qtype = tensor<32x3x3x3x!quant.uniform<i8<-127:…
30 // INT8-NEXT: %[[cst2:.*]] = "tfl.pseudo_qconst"() {qtype = tensor<32x!quant.uniform<i32:f32, 1.705…
31 // INT8-NEXT: %[[conv:.*]] = "tfl.conv_2d"(%arg0, %[[cst1]], %[[cst2]]) {dilation_h_factor = 1 : i3…
32 // INT8-NEXT: %[[reshape:.*]] = "tfl.reshape"(%[[conv]], %[[shape]]) : (tensor<1x112x112x32x!quant.…
33 // INT8-NEXT: %[[softmax:.*]] = "tfl.softmax"(%[[reshape]]) {beta = 1.000000e+00 : f32} : (tensor<1…
34 // INT8-NEXT: return %[[softmax]] : tensor<1x401408x!quant.uniform<i8:f32, 3.906250e-03>>
70 // INT8-LABEL: @not_modified(%arg0: tensor<f32>, %arg1: tensor<1x224x224x3xf32>) -> (tensor<1x40140…
[all …]
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeWorkgroupMemoryExplicitLayoutTests.cpp576 const int INT8 = AliasTest::RequirementInt8; in AddAliasTests() local
599 CASE_SAME_TYPE(INT8, "u8", "uint8_t v", "uint8_t(10)"), in AddAliasTests()
600 CASE_SAME_TYPE(INT8, "u8vec2", "u8vec2 v", "u8vec2(10, 20)"), in AddAliasTests()
601 CASE_SAME_TYPE(INT8, "u8vec3", "u8vec3 v", "u8vec3(10, 20, 30)"), in AddAliasTests()
602 CASE_SAME_TYPE(INT8, "u8vec4", "u8vec4 v", "u8vec4(10, 20, 30, 40)"), in AddAliasTests()
603 CASE_SAME_TYPE(INT8, "i8", "int8_t v", "int8_t(-10)"), in AddAliasTests()
604 CASE_SAME_TYPE(INT8, "i8vec2", "i8vec2 v", "i8vec2(-10, 20)"), in AddAliasTests()
605 CASE_SAME_TYPE(INT8, "i8vec3", "i8vec3 v", "i8vec3(-10, 20, -30)"), in AddAliasTests()
606 CASE_SAME_TYPE(INT8, "i8vec4", "i8vec4 v", "i8vec4(-10, 20, -30, 40)"), in AddAliasTests()
671 CASE_WITH_REVERSE(ALL, INT8, in AddAliasTests()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
Dgl_texture_helper.cc27 case DataType::INT8: in ToTextureFormat()
51 case DataType::INT8: in ToTextureInternalFormat()
76 case DataType::INT8: in ToTextureDataType()
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/
Dlstm_quantized.mlir17 // CHECK-NEXT: type: INT8,
27 // CHECK-NEXT: type: INT8,
37 // CHECK-NEXT: type: INT8,
47 // CHECK-NEXT: type: INT8,
57 // CHECK-NEXT: type: INT8,
67 // CHECK-NEXT: type: INT8,
77 // CHECK-NEXT: type: INT8,
87 // CHECK-NEXT: type: INT8,
97 // CHECK-NEXT: type: INT8,
147 // CHECK-NEXT: type: INT8,
[all …]
Dmul_v3.mlir15 // CHECK-NEXT: type: INT8,
25 // CHECK-NEXT: type: INT8,
35 // CHECK-NEXT: type: INT8,
Dmul_v2.mlir15 // CHECK-NEXT: type: INT8,
25 // CHECK-NEXT: type: INT8,
35 // CHECK-NEXT: type: INT8,
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dtensor_test.cc188 ASSERT_OK(TensorTests<DataType::INT8>(DataType::INT8, in TEST_F()
233 ASSERT_OK(TensorTests<DataType::INT8>(DataType::INT8, in TEST_F()
278 ASSERT_OK(TensorTests<DataType::INT8>(DataType::INT8, in TEST_F()
323 ASSERT_OK(TensorTests<DataType::INT8>( in TEST_F()
324 DataType::INT8, TensorStorageType::TEXTURE_ARRAY, &env_)); in TEST_F()
368 ASSERT_OK(TensorTests<DataType::INT8>( in TEST_F()
369 DataType::INT8, TensorStorageType::IMAGE_BUFFER, &env_)); in TEST_F()
/external/tensorflow/tensorflow/lite/java/src/main/java/org/tensorflow/lite/
DDataType.java42 INT8(9); enumConstant
58 case INT8: in byteSize()
DDataTypeUtils.java34 case INT8: in toStringName()
66 return DataType.INT8; in fromC()
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/
Dmetal_spatial_tensor_test.mm105 template absl::Status TensorBHWCTest<DataType::INT8>(const BHWC& shape,
184 template absl::Status TensorBHWDCTest<DataType::INT8>(const BHWDC& shape,
249 template absl::Status TensorTests<DataType::INT8>(DataType data_type,
283 auto status = TensorTests<DataType::INT8>(DataType::INT8, TensorStorageType::BUFFER);
328 auto status = TensorTests<DataType::INT8>(DataType::INT8, TensorStorageType::TEXTURE_2D);
373 auto status = TensorTests<DataType::INT8>(DataType::INT8, TensorStorageType::TEXTURE_3D);
418 auto status = TensorTests<DataType::INT8>(DataType::INT8, TensorStorageType::TEXTURE_ARRAY);
463 auto status = TensorTests<DataType::INT8>(DataType::INT8, TensorStorageType::IMAGE_BUFFER);
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/
DDataTypeTest.java45 assertThat(DataTypeUtils.toStringName(DataType.INT8)).isEqualTo("byte"); in testINT8AndUINT8()
47 assertThat(DataTypeUtils.toStringName(DataType.INT8)) in testINT8AndUINT8()
/external/tensorflow/tensorflow/lite/toco/tflite/
Dexport.h28 enum class QuantizedBufferType { NONE, INT8, FLOAT16 }; enumerator
58 quantize_weights ? QuantizedBufferType::INT8 : QuantizedBufferType::NONE; in Export()
72 quantize_weights ? QuantizedBufferType::INT8 : QuantizedBufferType::NONE; in Export()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dtrt_parameters.cc41 case TrtPrecisionMode::INT8: in TrtPrecisionModeToName()
56 *mode = TrtPrecisionMode::INT8; in TrtPrecisionModeFromName()
Dtrt_optimization_pass.cc185 params_.precision_mode != TrtPrecisionMode::INT8) { in Optimize()
195 if (params_.precision_mode != TrtPrecisionMode::INT8 || in Optimize()
201 params_.precision_mode = TrtPrecisionMode::INT8; in Optimize()
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/tools/
Dtflite_op_coverage_spec_getters_gen.cc34 enum class InputDataType { INT8, UINT8, INT16 }; enumerator
151 case InputDataType::INT8: { in GenerateStaticQuantOp()
212 GenerateStaticQuantOp(defs, result, InputDataType::INT8, true); in EmitStaticInt8PerAxisQuantOp()
231 GenerateStaticQuantOp(defs, result, InputDataType::INT8, false); in EmitStaticInt8PerTensorQuantOp()
/external/armnn/src/armnnTfLiteParser/test/
DTransposeConv.cpp295 "type": "INT8", in TransposeConvPerChannelFixture()
336 "type": "INT8", in TransposeConvPerChannelFixture()
392 "type": "INT8", in TransposeConvPerChannelFixture()
DFullyConnected.cpp243 "type": "INT8", in FullyConnectedNonConstWeightsFixture()
255 "type": "INT8", in FullyConnectedNonConstWeightsFixture()
268 "type": "INT8", in FullyConnectedNonConstWeightsFixture()
DConv2D.cpp402 "type": "INT8", in PerChannelConv2DFixture()
455 "type": "INT8", in PerChannelConv2DFixture()
495 "type": "INT8", in PerChannelConv2DFixture()
DDepthwiseConvolution2D.cpp282 "type": "INT8", in DepthwiseConvolution2dFixture2()
294 "type": "INT8", in DepthwiseConvolution2dFixture2()
306 "type": "INT8", in DepthwiseConvolution2dFixture2()
/external/tensorflow/tensorflow/lite/tools/benchmark/
Dbenchmark_test.cc48 enum class ModelGraphType { FP32, INT8, STRING }; enumerator
57 if (graph_type == ModelGraphType::INT8) { in CreateParams()
73 return CreateParams(2, 1.0f, 150.0f, ModelGraphType::INT8); in CreateInt8Params()
93 case ModelGraphType::INT8: in WriteInputLayerValueFile()
298 WriteInputLayerValueFile(file_path, ModelGraphType::INT8, 192, file_value); in TEST()
/external/tpm2-tss/src/tss2-mu/
Dbase-types.c161 BASE_MARSHAL (INT8)
162 BASE_UNMARSHAL(INT8)
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingDataSpillTests.cpp77 INT8, enumerator
150 case DataType::INT8: dataSize = sizeof(deInt8); break; in getElementSize()
288 std::make_pair(std::make_pair(DataType::INT8, VectorType::SCALAR), "int8_t"), in getGLSLInputValDecl()
289 std::make_pair(std::make_pair(DataType::INT8, VectorType::V2), "i8vec2"), in getGLSLInputValDecl()
290 std::make_pair(std::make_pair(DataType::INT8, VectorType::V3), "i8vec3"), in getGLSLInputValDecl()
291 std::make_pair(std::make_pair(DataType::INT8, VectorType::V4), "i8vec4"), in getGLSLInputValDecl()
292 std::make_pair(std::make_pair(DataType::INT8, VectorType::A5), "int8_t"), in getGLSLInputValDecl()
461 else if (m_params.dataType == DataType::INT8 || m_params.dataType == DataType::UINT8) in checkSupport()
703 else if (m_params.dataType == DataType::INT8) in initPrograms()
964 case DataType::INT8: in initPrograms()
[all …]

12345