Home
last modified time | relevance | path

Searched refs:prev_samples_order (Results 1 – 5 of 5) sorted by relevance

/hardware/google/pixel/thermal/virtualtemp_estimator/
Dvirtualtemp_estimator_test.cpp106 int inference_delay_sec, int prev_samples_order) { in run_random_input_inference() argument
118 init_data.ml_model_init_data.prev_samples_order = prev_samples_order; in run_random_input_inference()
119 init_data.ml_model_init_data.use_prev_samples = (prev_samples_order > 1) ? true : false; in run_random_input_inference()
207 char *input, int prev_samples_order) { in run_single_inference() argument
236 size_t total_num_samples = num_linked_sensors * prev_samples_order; in run_single_inference()
254 init_data.ml_model_init_data.prev_samples_order = prev_samples_order; in run_single_inference()
255 init_data.ml_model_init_data.use_prev_samples = (prev_samples_order > 1) ? true : false; in run_single_inference()
287 (loop_count > prev_samples_order)) { in run_single_inference()
292 } while (loop_count < prev_samples_order); in run_single_inference()
304 int prev_samples_order) { in run_batch_process() argument
[all …]
Dvirtualtemp_estimator.cpp223 (data.prev_samples_order == 0)) { in LinearModelInitialize()
226 << "] or prev_samples_order [" << data.prev_samples_order << "]"; in LinearModelInitialize()
230 if (data.coefficients.size() != (num_linked_sensors * data.prev_samples_order)) { in LinearModelInitialize()
233 << data.prev_samples_order << "]"; in LinearModelInitialize()
238 common_instance_->prev_samples_order = data.prev_samples_order; in LinearModelInitialize()
240 linear_model_instance_->input_samples.reserve(common_instance_->prev_samples_order); in LinearModelInitialize()
241 linear_model_instance_->coefficients.reserve(common_instance_->prev_samples_order); in LinearModelInitialize()
244 for (size_t i = 0; i < data.prev_samples_order; ++i) { in LinearModelInitialize()
268 size_t prev_samples_order = data.prev_samples_order; in TFliteInitialize() local
279 if (num_linked_sensors == 0 || prev_samples_order < 1 || in TFliteInitialize()
[all …]
Dvirtualtemp_estimator.h43 size_t prev_samples_order; member
54 size_t prev_samples_order; member
65 ml_model_init_data.prev_samples_order = 1; in VtEstimationInitData()
72 linear_model_init_data.prev_samples_order = 1; in VtEstimationInitData()
Dvirtualtemp_estimator_data.h61 prev_samples_order = 1; in VtEstimatorCommonData()
72 size_t prev_samples_order; member
/hardware/google/pixel/thermal/utils/
Dthermal_info.cpp446 init_data.ml_model_init_data.prev_samples_order = sensor["PreviousSampleCount"].asInt(); in ParseVirtualSensorInfo()
448 << init_data.ml_model_init_data.prev_samples_order << " historic samples"; in ParseVirtualSensorInfo()
504 init_data.linear_model_init_data.prev_samples_order = in ParseVirtualSensorInfo()