Home
last modified time | relevance | path

Searched refs:num_linked_sensors (Results 1 – 4 of 4) sorted by relevance

/hardware/google/pixel/thermal/virtualtemp_estimator/
Dvirtualtemp_estimator.cpp195 size_t num_linked_sensors) { in VirtualTempEstimator() argument
198 common_instance_ = std::make_unique<VtEstimatorCommonData>(sensor_name, num_linked_sensors); in VirtualTempEstimator()
219 size_t num_linked_sensors = common_instance_->num_linked_sensors; in LinearModelInitialize() local
222 if ((num_linked_sensors == 0) || (data.coefficients.size() == 0) || in LinearModelInitialize()
224 LOG(ERROR) << "Invalid num_linked_sensors [" << num_linked_sensors in LinearModelInitialize()
230 if (data.coefficients.size() != (num_linked_sensors * data.prev_samples_order)) { in LinearModelInitialize()
232 << "] num_linked_sensors [" << num_linked_sensors << "] prev_samples_order[" in LinearModelInitialize()
246 for (size_t j = 0; j < num_linked_sensors; ++j) { in LinearModelInitialize()
247 single_order_coefficients.emplace_back(data.coefficients[i * num_linked_sensors + j]); in LinearModelInitialize()
266 size_t num_linked_sensors = common_instance_->num_linked_sensors; in TFliteInitialize() local
[all …]
Dvirtualtemp_estimator_data.h60 num_linked_sensors = num_input_sensors; in VtEstimatorCommonData()
71 size_t num_linked_sensors; member
Dvirtualtemp_estimator_test.cpp214 int num_linked_sensors = input_combination.size(); in run_single_inference() local
236 size_t total_num_samples = num_linked_sensors * prev_samples_order; in run_single_inference()
242 thermistors.push_back(thermistors[count++ % num_linked_sensors]); in run_single_inference()
251 kTestSensorName, thermal::vtestimator::kUseMLModel, num_linked_sensors); in run_single_inference()
268 int start_index = loop_count * num_linked_sensors; in run_single_inference()
270 std::vector<float>::const_iterator last = first + num_linked_sensors; in run_single_inference()
Dvirtualtemp_estimator.h91 size_t num_linked_sensors);