Searched refs:offset_thresholds (Results 1 – 4 of 4) sorted by relevance
47 std::vector<float> offset_thresholds; member56 std::vector<float> offset_thresholds; member
68 float CalculateOffset(const std::vector<float> &offset_thresholds, in CalculateOffset() argument70 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()
68 std::vector<float> offset_thresholds; member
218 std::vector<float> *offset_thresholds, in ParseOffsetThresholds() argument241 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()