Home
last modified time | relevance | path

Searched refs:kInt16 (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dquantization_util.cc31 *out_quantized_data_type = ArrayDataType::kInt16; in InferQuantizedDataTypeFromFakeQuant()
47 case ArrayDataType::kInt16: in GetQuantizedDataTypeNumericalRange()
61 case ArrayDataType::kInt16: in GetQuantizedDataType()
96 case ArrayDataType::kInt16: in ChooseQuantizationParamsForArrayAndQuantizedDataType()
98 ArrayDataType::kInt16>(array, quantization_params); in ChooseQuantizationParamsForArrayAndQuantizedDataType()
191 if (array.final_data_type == ArrayDataType::kInt16) { in QuantizeArray()
199 case ArrayDataType::kInt16: in QuantizeArray()
200 return QuantizeArray<ArrayDataType::kInt16>(transformation, model, name, in QuantizeArray()
Dresolve_constant_reshape.cc77 case ArrayDataType::kInt16: in Run()
78 CopyArrayBuffer<ArrayDataType::kInt16>(input_array, &output_array); in Run()
Dresolve_constant_fake_quant.cc47 case ArrayDataType::kInt16: in GetBoundsForQuantizedDataType()
48 return GetBoundsForQuantizedDataType<ArrayDataType::kInt16>(min, max); in GetBoundsForQuantizedDataType()
Dresolve_constant_tile.cc144 case ArrayDataType::kInt16: in Run()
145 Tile<ArrayDataType::kInt16>(input_array, multiples_array, &output_array); in Run()
Dquantize.cc215 case ArrayDataType::kInt16: in GetQuantizationPoints()
216 return GetQuantizationPoints<ArrayDataType::kInt16>(); in GetQuantizationPoints()
284 *quantized_data_type = ArrayDataType::kInt16; in ChooseQuantizationForOperatorInput()
433 *quantized_data_type = ArrayDataType::kInt16; in ChooseQuantizationForOperatorOutput()
Dshuffle_fc_weights.cc48 output_array.data_type != ArrayDataType::kInt16 || in Run()
/external/tensorflow/tensorflow/lite/toco/tflite/
Dtypes.cc91 case ArrayDataType::kInt16: in Serialize()
117 return ArrayDataType::kInt16; in Deserialize()
142 case ArrayDataType::kInt16: in Serialize()
143 return CopyBuffer<ArrayDataType::kInt16>(array, builder); in Serialize()
170 return CopyBuffer<ArrayDataType::kInt16>(buffer, array); in Deserialize()
Dtypes_test.cc158 Array recovered = ToFlatBufferAndBack<ArrayDataType::kInt16>({1, 1 << 14}); in TEST()
159 EXPECT_THAT(recovered.GetBuffer<ArrayDataType::kInt16>().data, in TEST()
Doperator_test.cc1033 input_int16_array.data_type = ArrayDataType::kInt16; in TEST_F()
Doperator.cc49 {ArrayDataType::kInt16, ::tflite::TensorType_INT16}, in GetTensorType()
/external/tensorflow/tensorflow/lite/toco/
Dtooling_util.cc74 case ArrayDataType::kInt16: in ArrayDataTypeName()
833 case ArrayDataType::kInt16: in CompareConstantArrays()
834 return CompareArrayBuffers<ArrayDataType::kInt16>(lhs_array, rhs_array); in CompareConstantArrays()
1430 case ArrayDataType::kInt16: in CloneArray()
1431 CopyArrayBuffer<ArrayDataType::kInt16>(source_array, &target_array); in CloneArray()
1686 if (input_array.data_type == ArrayDataType::kInt16) { in ResolveModelFlags()
1755 case ArrayDataType::kInt16: in ElementSize()
2279 array.final_data_type != ArrayDataType::kInt16) { in CheckFinalDataTypesSatisfied()
2299 return ArrayDataType::kInt16; in ConvertIODataTypeToArrayDataType()
Dtoco_tooling.cc156 type == toco::ArrayDataType::kInt16); in IsRealValued()
368 ArrayDataType::kInt16, toco_flags.default_int16_ranges_min(), in TransformWithStatus()
Ddump_graphviz.cc207 } else if (array.buffer->type == ArrayDataType::kInt16) { in AppendArrayVal()
208 const auto& data = array.GetBuffer<ArrayDataType::kInt16>().data; in AppendArrayVal()
Dmodel.h228 kInt16, // 5 enumerator
263 struct DataTypeImpl<ArrayDataType::kInt16> {
Dtoco_flags.proto112 // the kInt16 data type.
Dexport_tensorflow.cc2416 case ArrayDataType::kInt16: in AddPlaceholder()
/external/v8/src/compiler/
Dtype-cache.h34 Type const kInt16 = CreateRange<int16_t>(); variable
/external/tensorflow/tensorflow/lite/toco/logging/
Dconversion_log_util_test.cc139 array_map[input3]->data_type = ArrayDataType::kInt16; in TEST()