Home
last modified time | relevance | path

Searched refs:kUint8 (Results 1 – 25 of 37) sorted by relevance

12

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dquantization_util.cc28 *out_quantized_data_type = ArrayDataType::kUint8; in InferQuantizedDataTypeFromFakeQuant()
43 case ArrayDataType::kUint8: in GetQuantizedDataTypeNumericalRange()
60 case ArrayDataType::kUint8: in GetQuantizedDataType()
92 case ArrayDataType::kUint8: in ChooseQuantizationParamsForArrayAndQuantizedDataType()
94 ArrayDataType::kUint8>(array, quantization_params); in ChooseQuantizationParamsForArrayAndQuantizedDataType()
196 case ArrayDataType::kUint8: in QuantizeArray()
197 return QuantizeArray<ArrayDataType::kUint8>(transformation, model, name, in QuantizeArray()
Dresolve_multiply_by_zero.cc115 case ArrayDataType::kUint8: { in Run()
117 constant_input_array.GetBuffer<ArrayDataType::kUint8>().data; in Run()
118 if (!AreAllBufferElementsZero<DataType<ArrayDataType::kUint8>>( in Run()
122 FillArrayWithZeros<ArrayDataType::kUint8>(&output_array); in Run()
Dshuffle_fc_weights.cc46 if (input_array.data_type != ArrayDataType::kUint8 || in Run()
47 weights_array.data_type != ArrayDataType::kUint8 || in Run()
118 weights_array.GetMutableBuffer<ArrayDataType::kUint8>().data; in Run()
Densure_uint8_weights_safe_for_fast_int8_kernels.cc160 if (array.data_type != ArrayDataType::kUint8) { in Run()
163 auto& buffer_data = array.GetMutableBuffer<ArrayDataType::kUint8>().data; in Run()
Dresolve_constant_reshape.cc74 case ArrayDataType::kUint8: in Run()
75 CopyArrayBuffer<ArrayDataType::kUint8>(input_array, &output_array); in Run()
Dresolve_constant_fill.cc86 case ArrayDataType::kUint8: in Run()
87 if (!ComputeFillArray<ArrayDataType::kUint8>(model, op)) { in Run()
Dresolve_constant_pack.cc95 case ArrayDataType::kUint8: in Run()
96 Pack<ArrayDataType::kUint8>(model, *op); in Run()
Dresolve_reorder_axes.cc109 } else if (input_array.buffer->type == ArrayDataType::kUint8) { in Run()
113 ReorderAxes<uint8, ArrayDataType::kUint8>(reorder_op->input_axes_order, in Run()
Dresolve_constant_fake_quant.cc41 case ArrayDataType::kUint8: in GetBoundsForQuantizedDataType()
42 return GetBoundsForQuantizedDataType<ArrayDataType::kUint8>(min, max); in GetBoundsForQuantizedDataType()
Dquantize.cc213 case ArrayDataType::kUint8: in GetQuantizationPoints()
214 return GetQuantizationPoints<ArrayDataType::kUint8>(); in GetQuantizationPoints()
291 *quantized_data_type = GetQuantizedDataType(array, ArrayDataType::kUint8); in ChooseQuantizationForOperatorInput()
313 if (data_type == ArrayDataType::kUint8) { in IsExactlyRepresentable()
418 GetQuantizedDataType(input_array, ArrayDataType::kUint8); in ChooseQuantizationForOperatorOutput()
439 *quantized_data_type = GetQuantizedDataType(array, ArrayDataType::kUint8); in ChooseQuantizationForOperatorOutput()
Dresolve_constant_gather.cc126 case ArrayDataType::kUint8: in Run()
127 Gather<ArrayDataType::kUint8>(input_array, coords_array, &output_array); in Run()
Dresolve_constant_slice.cc135 case ArrayDataType::kUint8: in Run()
136 if (!Slice<ArrayDataType::kUint8>(*op, input_array, &output_array)) { in Run()
Dresolve_constant_strided_slice.cc147 case ArrayDataType::kUint8: in Run()
148 StridedSlice<ArrayDataType::kUint8>(*op, input_array, &output_array); in Run()
Dresolve_constant_tile.cc141 case ArrayDataType::kUint8: in Run()
142 Tile<ArrayDataType::kUint8>(input_array, multiples_array, &output_array); in Run()
Dresolve_constant_transpose.cc150 case ArrayDataType::kUint8: in Run()
151 Transpose<ArrayDataType::kUint8>(model, input_array, op->perm, in Run()
Dresolve_constant_concatenation.cc185 case ArrayDataType::kUint8: in Run()
186 ConcatenateTensorBuffers<ArrayDataType::kUint8>( in Run()
Ddequantize.cc88 if (array->data_type == ArrayDataType::kUint8) { in DequantizeArray()
89 DequantizeBuffer<ArrayDataType::kUint8>(array); in DequantizeArray()
Dpropagate_default_min_max.cc78 GetQuantizedDataType(*array, ArrayDataType::kUint8); in SetArrayMinMax()
Didentify_nearest_upsample.cc136 } else if (const_array.data_type == ArrayDataType::kUint8) { in Run()
137 if (!HasSameValues<ArrayDataType::kUint8, uint8_t>(const_array, 255)) in Run()
Dconvert_matrix_diag_v2_or_v3_to_v1.cc63 input_padding_value.GetBuffer<ArrayDataType::kUint8>().data; in Run()
Dresolve_constant_unary.cc225 } else if (input_array.buffer->type == ArrayDataType::kUint8) { in Run()
227 input_array.GetBuffer<ArrayDataType::kUint8>().data[i]); in Run()
/external/tensorflow/tensorflow/lite/toco/tflite/
Dtypes.cc97 case ArrayDataType::kUint8: in Serialize()
125 return ArrayDataType::kUint8; in Deserialize()
150 case ArrayDataType::kUint8: in Serialize()
151 return CopyBuffer<ArrayDataType::kUint8>(array, builder); in Serialize()
178 return CopyBuffer<ArrayDataType::kUint8>(buffer, array); in Deserialize()
Doperator_test.cc192 op.dst_data_type = ArrayDataType::kUint8; in TEST_F()
572 uint8_array.data_type = ArrayDataType::kUint8; in TEST_F()
785 uint8_array.data_type = ArrayDataType::kUint8; in SimpleVersioningTest()
807 uint8_array.data_type = ArrayDataType::kUint8; in SimpleOutputVersioningTest()
868 uint8_array.data_type = ArrayDataType::kUint8; in TEST_F()
964 SimpleMulVersioningTest(ArrayDataType::kUint8, 0.5f, 1); in TEST_F()
998 input_uint8_array.data_type = ArrayDataType::kUint8; in TEST_F()
1001 weight_uint8_array.data_type = ArrayDataType::kUint8; in TEST_F()
1004 output_uint8_array.data_type = ArrayDataType::kUint8; in TEST_F()
1069 input_uint8_array.data_type = ArrayDataType::kUint8; in TEST_F()
[all …]
Dtypes_test.cc72 {ArrayDataType::kUint8, ::tflite::TensorType_UINT8}, in TEST()
146 Array recovered = ToFlatBufferAndBack<ArrayDataType::kUint8>({127, 244}); in TEST()
147 EXPECT_THAT(recovered.GetBuffer<ArrayDataType::kUint8>().data, in TEST()
/external/v8/src/compiler/
Dtype-cache.h30 Type const kUint8 = CreateRange<uint8_t>(); variable
31 Type const kUint8Clamped = kUint8;
33 Type::Union(kUint8, Type::MinusZeroOrNaN(), zone());

12