Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/virtualtemp_estimator/
Dvirtualtemp_estimator.h63 ml_model_init_data.model_path = ""; in VtEstimationInitData()
64 ml_model_init_data.use_prev_samples = false; in VtEstimationInitData()
65 ml_model_init_data.prev_samples_order = 1; in VtEstimationInitData()
66 ml_model_init_data.output_label_count = 1; in VtEstimationInitData()
67 ml_model_init_data.num_hot_spots = 1; in VtEstimationInitData()
68 ml_model_init_data.enable_input_validation = false; in VtEstimationInitData()
69 ml_model_init_data.support_under_sampling = false; in VtEstimationInitData()
77 MLModelInitData ml_model_init_data; member
Dvirtualtemp_estimator_test.cpp117 init_data.ml_model_init_data.model_path = model_path; in run_random_input_inference()
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()
253 init_data.ml_model_init_data.model_path = model_path; 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()
321 init_data.ml_model_init_data.model_path = model_path; in run_batch_process()
322 init_data.ml_model_init_data.prev_samples_order = prev_samples_order; in run_batch_process()
323 init_data.ml_model_init_data.use_prev_samples = (prev_samples_order > 1) ? true : false; in run_batch_process()
Dvirtualtemp_estimator.cpp725 return TFliteInitialize(data.ml_model_init_data); in Initialize()
/hardware/google/pixel/thermal/utils/
Dthermal_info.cpp436 init_data.ml_model_init_data.model_path = vt_estimator_model_file; in ParseVirtualSensorInfo()
438 if (!ParseOffsetThresholds(name, sensor, &init_data.ml_model_init_data.offset_thresholds, in ParseVirtualSensorInfo()
439 &init_data.ml_model_init_data.offset_values)) { in ParseVirtualSensorInfo()
445 init_data.ml_model_init_data.use_prev_samples = true; in ParseVirtualSensorInfo()
446 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()
452 init_data.ml_model_init_data.output_label_count = sensor["OutputLabelCount"].asInt(); in ParseVirtualSensorInfo()
454 << init_data.ml_model_init_data.output_label_count << " labels"; in ParseVirtualSensorInfo()
458 init_data.ml_model_init_data.num_hot_spots = sensor["PredictHotSpotCount"].asInt(); in ParseVirtualSensorInfo()
460 << init_data.ml_model_init_data.num_hot_spots << " hot spots"; in ParseVirtualSensorInfo()
[all …]