/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
D | quantization_util.cc | 28 *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()
|
D | resolve_multiply_by_zero.cc | 115 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()
|
D | shuffle_fc_weights.cc | 46 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()
|
D | ensure_uint8_weights_safe_for_fast_int8_kernels.cc | 160 if (array.data_type != ArrayDataType::kUint8) { in Run() 163 auto& buffer_data = array.GetMutableBuffer<ArrayDataType::kUint8>().data; in Run()
|
D | resolve_constant_pack.cc | 95 case ArrayDataType::kUint8: in Run() 96 Pack<ArrayDataType::kUint8>(model, *op); in Run()
|
D | resolve_constant_reshape.cc | 74 case ArrayDataType::kUint8: in Run() 75 CopyArrayBuffer<ArrayDataType::kUint8>(input_array, &output_array); in Run()
|
D | resolve_constant_fill.cc | 86 case ArrayDataType::kUint8: in Run() 87 if (!ComputeFillArray<ArrayDataType::kUint8>(model, op)) { in Run()
|
D | resolve_reorder_axes.cc | 109 } else if (input_array.buffer->type == ArrayDataType::kUint8) { in Run() 113 ReorderAxes<uint8, ArrayDataType::kUint8>(reorder_op->input_axes_order, in Run()
|
D | resolve_constant_fake_quant.cc | 41 case ArrayDataType::kUint8: in GetBoundsForQuantizedDataType() 42 return GetBoundsForQuantizedDataType<ArrayDataType::kUint8>(min, max); in GetBoundsForQuantizedDataType()
|
D | quantize.cc | 213 case ArrayDataType::kUint8: in GetQuantizationPoints() 214 return GetQuantizationPoints<ArrayDataType::kUint8>(); in GetQuantizationPoints() 298 *quantized_data_type = GetQuantizedDataType(array, ArrayDataType::kUint8); in ChooseQuantizationForOperatorInput() 320 if (data_type == ArrayDataType::kUint8) { in IsExactlyRepresentable() 425 GetQuantizedDataType(input_array, ArrayDataType::kUint8); in ChooseQuantizationForOperatorOutput() 446 *quantized_data_type = GetQuantizedDataType(array, ArrayDataType::kUint8); in ChooseQuantizationForOperatorOutput()
|
D | resolve_constant_gather.cc | 126 case ArrayDataType::kUint8: in Run() 127 Gather<ArrayDataType::kUint8>(input_array, coords_array, &output_array); in Run()
|
D | resolve_constant_strided_slice.cc | 147 case ArrayDataType::kUint8: in Run() 148 StridedSlice<ArrayDataType::kUint8>(*op, input_array, &output_array); in Run()
|
D | resolve_constant_slice.cc | 135 case ArrayDataType::kUint8: in Run() 136 if (!Slice<ArrayDataType::kUint8>(*op, input_array, &output_array)) { in Run()
|
D | resolve_constant_tile.cc | 142 case ArrayDataType::kUint8: in Run() 143 Tile<ArrayDataType::kUint8>(input_array, multiples_array, &output_array); in Run()
|
D | resolve_constant_transpose.cc | 150 case ArrayDataType::kUint8: in Run() 151 Transpose<ArrayDataType::kUint8>(model, input_array, op->perm, in Run()
|
D | resolve_constant_concatenation.cc | 185 case ArrayDataType::kUint8: in Run() 186 ConcatenateTensorBuffers<ArrayDataType::kUint8>( in Run()
|
D | dequantize.cc | 88 if (array->data_type == ArrayDataType::kUint8) { in DequantizeArray() 89 DequantizeBuffer<ArrayDataType::kUint8>(array); in DequantizeArray()
|
D | propagate_default_min_max.cc | 78 GetQuantizedDataType(*array, ArrayDataType::kUint8); in SetArrayMinMax()
|
D | identify_nearest_upsample.cc | 136 } else if (const_array.data_type == ArrayDataType::kUint8) { in Run() 137 if (!HasSameValues<ArrayDataType::kUint8, uint8_t>(const_array, 255)) in Run()
|
D | convert_matrix_diag_v2_or_v3_to_v1.cc | 63 input_padding_value.GetBuffer<ArrayDataType::kUint8>().data; in Run()
|
D | resolve_constant_unary.cc | 225 } 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/ |
D | types.cc | 99 case ArrayDataType::kUint8: in Serialize() 129 return ArrayDataType::kUint8; in Deserialize() 156 case ArrayDataType::kUint8: in Serialize() 157 return CopyBuffer<ArrayDataType::kUint8>(array, builder); in Serialize() 186 return CopyBuffer<ArrayDataType::kUint8>(buffer, array); in Deserialize()
|
D | operator_test.cc | 192 op.dst_data_type = ArrayDataType::kUint8; in TEST_F() 586 uint8_array.data_type = ArrayDataType::kUint8; in TEST_F() 806 uint8_array.data_type = ArrayDataType::kUint8; in SimpleVersioningTest() 828 uint8_array.data_type = ArrayDataType::kUint8; in SimpleOutputVersioningTest() 872 uint8_array.data_type = ArrayDataType::kUint8; in TEST_F() 913 uint8_array.data_type = ArrayDataType::kUint8; in TEST_F() 932 uint8_array.data_type = ArrayDataType::kUint8; in TEST_F() 964 uint8_array.data_type = ArrayDataType::kUint8; in TEST_F() 1059 SimpleMulVersioningTest(ArrayDataType::kUint8, 0.5f, 1); in TEST_F() 1089 SimpleTwoInputsVersioningTest<SubOperator>(ArrayDataType::kUint8, in TEST_F() [all …]
|
D | types_test.cc | 72 {ArrayDataType::kUint8, ::tflite::TensorType_UINT8}, in TEST() 147 Array recovered = ToFlatBufferAndBack<ArrayDataType::kUint8>({127, 244}); in TEST() 148 EXPECT_THAT(recovered.GetBuffer<ArrayDataType::kUint8>().data, in TEST()
|
/external/libbrillo/brillo/dbus/ |
D | data_serialization_fuzzer.cc | 24 kUint8 = 0, enumerator 119 case kUint8: in LLVMFuzzerTestOneInput() 236 case kUint8: { in LLVMFuzzerTestOneInput()
|