Home
last modified time | relevance | path

Searched refs:kInt16 (Results 1 – 15 of 15) 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.cc174 case ArrayDataType::kInt16: in GetQuantizationPoints()
175 return GetQuantizationPoints<ArrayDataType::kInt16>(); in GetQuantizationPoints()
243 *quantized_data_type = ArrayDataType::kInt16; in ChooseQuantizationForOperatorInput()
391 *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()
/external/tensorflow/tensorflow/lite/toco/
Dtooling_util.cc74 case ArrayDataType::kInt16: in ArrayDataTypeName()
808 case ArrayDataType::kInt16: in CompareConstantArrays()
809 return CompareArrayBuffers<ArrayDataType::kInt16>(lhs_array, rhs_array); in CompareConstantArrays()
1414 case ArrayDataType::kInt16: in CloneArray()
1415 CopyArrayBuffer<ArrayDataType::kInt16>(source_array, &target_array); in CloneArray()
1670 if (input_array.data_type == ArrayDataType::kInt16) { in ResolveModelFlags()
1739 case ArrayDataType::kInt16: in ElementSize()
2243 array.final_data_type != ArrayDataType::kInt16) { in CheckFinalDataTypesSatisfied()
2263 return ArrayDataType::kInt16; in ConvertIODataTypeToArrayDataType()
Dtoco_tooling.cc151 type == toco::ArrayDataType::kInt16); in IsRealValued()
363 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.h215 kInt16, // 5 enumerator
249 struct DataTypeImpl<ArrayDataType::kInt16> {
Dtoco_flags.proto111 // the kInt16 data type.
Dexport_tensorflow.cc2406 case ArrayDataType::kInt16: in AddPlaceholder()
/external/v8/src/compiler/
Dtype-cache.h33 Type const kInt16 = CreateRange<int16_t>(); variable