Searched refs:thermistors (Results 1 – 4 of 4) sorted by relevance
359 VtEstimatorStatus VirtualTempEstimator::LinearModelEstimate(const std::vector<float> &thermistors, in LinearModelEstimate() argument371 if ((thermistors.size() != num_linked_sensors) || (output == nullptr)) { in LinearModelEstimate()372 LOG(ERROR) << "Invalid args Thermistors size[" << thermistors.size() in LinearModelEstimate()387 linear_model_instance_->input_samples[i] = thermistors; in LinearModelEstimate()392 linear_model_instance_->input_samples[cur_sample_index] = thermistors; in LinearModelEstimate()418 VtEstimatorStatus VirtualTempEstimator::TFliteEstimate(const std::vector<float> &thermistors, in TFliteEstimate() argument433 if ((thermistors.size() != num_linked_sensors) || (output == nullptr)) { in TFliteEstimate()435 << " thermistors.size(): " << thermistors.size() in TFliteEstimate()443 input_data_str += ::android::base::StringPrintf("%0.2f ", thermistors[i]); in TFliteEstimate()462 if (thermistors[i] < tflite_instance_->input_range[i].min_threshold || in TFliteEstimate()[all …]
98 VtEstimatorStatus Estimate(const std::vector<float> &thermistors, std::vector<float> *output);122 VtEstimatorStatus LinearModelEstimate(const std::vector<float> &thermistors,124 VtEstimatorStatus TFliteEstimate(const std::vector<float> &thermistors,
139 std::vector<float> thermistors; in run_random_input_inference() local144 thermistors.push_back(r + i * 1000); in run_random_input_inference()148 ret = vt_estimator_.Estimate(thermistors, &output); in run_random_input_inference()217 std::vector<float> thermistors; in run_single_inference() local229 thermistors.push_back(thermistor_value); in run_single_inference()234 std::cout << "thermistors.size(): " << thermistors.size() << "\n\n"; in run_single_inference()237 size_t cur_size = thermistors.size(); in run_single_inference()242 thermistors.push_back(thermistors[count++ % num_linked_sensors]); in run_single_inference()269 std::vector<float>::const_iterator first = thermistors.begin() + start_index; in run_single_inference()
2108 * thermistors & SoC: hardware/google/pixel/pixelstats/UeventListener.cpp