Home
last modified time | relevance | path

Searched refs:kInt16 (Results 1 – 23 of 23) 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.cc145 case ArrayDataType::kInt16: in Run()
146 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()
291 *quantized_data_type = ArrayDataType::kInt16; in ChooseQuantizationForOperatorInput()
440 *quantized_data_type = ArrayDataType::kInt16; in ChooseQuantizationForOperatorOutput()
Dshuffle_fc_weights.cc48 output_array.data_type != ArrayDataType::kInt16 || in Run()
/external/webrtc/common_audio/
Dwav_file.h27 enum class SampleFormat { kInt16, kFloat }; enumerator
45 SampleFormat sample_format = SampleFormat::kInt16);
49 SampleFormat sample_format = SampleFormat::kInt16);
Dwav_file_unittest.cc110 {WavFile::SampleFormat::kInt16, WavFile::SampleFormat::kFloat}) { in TEST()
112 {WavFile::SampleFormat::kInt16, WavFile::SampleFormat::kFloat}) { in TEST()
114 {WavFile::SampleFormat::kInt16, WavFile::SampleFormat::kFloat}) { in TEST()
Dwav_file.cc199 format_(sample_format == SampleFormat::kInt16 in WavWriter()
/external/tensorflow/tensorflow/lite/toco/tflite/
Dtypes.cc91 case ArrayDataType::kInt16: in Serialize()
119 return ArrayDataType::kInt16; in Deserialize()
146 case ArrayDataType::kInt16: in Serialize()
147 return CopyBuffer<ArrayDataType::kInt16>(array, builder); in Serialize()
176 return CopyBuffer<ArrayDataType::kInt16>(buffer, array); in Deserialize()
Dtypes_test.cc165 Array recovered = ToFlatBufferAndBack<ArrayDataType::kInt16>({1, 1 << 14}); in TEST()
166 EXPECT_THAT(recovered.GetBuffer<ArrayDataType::kInt16>().data, in TEST()
Doperator_test.cc1182 input_int16_array.data_type = ArrayDataType::kInt16; in TEST_F()
Doperator.cc49 {ArrayDataType::kInt16, ::tflite::TensorType_INT16}, in GetTensorType()
/external/libbrillo/brillo/dbus/
Ddata_serialization_fuzzer.cc28 kInt16, enumerator
131 case kInt16: in LLVMFuzzerTestOneInput()
256 case kInt16: { in LLVMFuzzerTestOneInput()
/external/tensorflow/tensorflow/lite/toco/
Dtoco_tooling.cc156 type == toco::ArrayDataType::kInt16); in IsRealValued()
368 ArrayDataType::kInt16, toco_flags.default_int16_ranges_min(), in TransformWithStatus()
Dtooling_util.cc74 case ArrayDataType::kInt16: in ArrayDataTypeName()
836 case ArrayDataType::kInt16: in CompareConstantArrays()
837 return CompareArrayBuffers<ArrayDataType::kInt16>(lhs_array, rhs_array); in CompareConstantArrays()
1433 case ArrayDataType::kInt16: in CloneArray()
1434 CopyArrayBuffer<ArrayDataType::kInt16>(source_array, &target_array); in CloneArray()
1689 if (input_array.data_type == ArrayDataType::kInt16) { in ResolveModelFlags()
1758 case ArrayDataType::kInt16: in ElementSize()
2287 array.final_data_type != ArrayDataType::kInt16) { in CheckFinalDataTypesSatisfied()
2307 return ArrayDataType::kInt16; in ConvertIODataTypeToArrayDataType()
Ddump_graphviz.cc210 } else if (array.buffer->type == ArrayDataType::kInt16) { in AppendArrayVal()
211 const auto& data = array.GetBuffer<ArrayDataType::kInt16>().data; in AppendArrayVal()
Dmodel.h229 kInt16, // 5 enumerator
266 struct DataTypeImpl<ArrayDataType::kInt16> {
Dtoco_flags.proto112 // the kInt16 data type.
Dexport_tensorflow.cc2450 case ArrayDataType::kInt16: in AddPlaceholder()
/external/webrtc/modules/audio_processing/test/
Daudio_processing_simulator.h141 WavFile::SampleFormat wav_output_format = WavFile::SampleFormat::kInt16;
Daudioproc_float_impl.cc448 : WavFile::SampleFormat::kInt16; in CreateSettings()
/external/tensorflow/tensorflow/lite/toco/logging/
Dconversion_log_util_test.cc139 array_map[input3]->data_type = ArrayDataType::kInt16; in TEST()