Home
last modified time | relevance | path

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

/hardware/google/pixel/thermal/virtualtemp_estimator/
Dvirtualtemp_estimator.h47 std::vector<float> offset_thresholds; member
56 std::vector<float> offset_thresholds; member
Dvirtualtemp_estimator.cpp68 float CalculateOffset(const std::vector<float> &offset_thresholds, in CalculateOffset() argument
70 for (int i = offset_thresholds.size(); i > 0; --i) { in CalculateOffset()
71 if (offset_thresholds[i - 1] < value) { in CalculateOffset()
252 common_instance_->offset_thresholds = data.offset_thresholds; in LinearModelInitialize()
350 common_instance_->offset_thresholds = data.offset_thresholds; in TFliteInitialize()
410 estimated_value += CalculateOffset(common_instance_->offset_thresholds, in LinearModelEstimate()
522 predicted_value += CalculateOffset(common_instance_->offset_thresholds, in TFliteEstimate()
700 predicted_value += CalculateOffset(common_instance_->offset_thresholds, in TFLiteDumpStatus()
Dvirtualtemp_estimator_data.h68 std::vector<float> offset_thresholds; member
/hardware/google/pixel/thermal/utils/
Dthermal_info.cpp218 std::vector<float> *offset_thresholds, in ParseOffsetThresholds() argument
241 if ((i != 0) && (offset_threshold < (*offset_thresholds).back())) { in ParseOffsetThresholds()
246 (*offset_thresholds).emplace_back(offset_threshold); in ParseOffsetThresholds()
250 << "]: " << (*offset_thresholds)[i] << " offset_values[" << i in ParseOffsetThresholds()
438 if (!ParseOffsetThresholds(name, sensor, &init_data.ml_model_init_data.offset_thresholds, in ParseVirtualSensorInfo()
508 &init_data.linear_model_init_data.offset_thresholds, in ParseVirtualSensorInfo()