Home
last modified time | relevance | path

Searched refs:tflite_instance_ (Results 1 – 2 of 2) sorted by relevance

/hardware/google/pixel/thermal/virtualtemp_estimator/
Dvirtualtemp_estimator.cpp85 if (tflite_instance_ == nullptr || common_instance_ == nullptr) { in DumpTraces()
90 std::unique_lock<std::mutex> lock(tflite_instance_->tflite_methods.mutex); in DumpTraces()
93 LOG(ERROR) << "tflite_instance_ not initialized for " << tflite_instance_->model_path; in DumpTraces()
98 float *model_input = tflite_instance_->input_buffer; in DumpTraces()
99 float *model_output = tflite_instance_->output_buffer; in DumpTraces()
100 auto input_buffer_size = tflite_instance_->input_buffer_size; in DumpTraces()
101 auto output_buffer_size = tflite_instance_->output_buffer_size; in DumpTraces()
105 model_input = tflite_instance_->scratch_buffer; in DumpTraces()
139 if (!tflite_instance_) { in LoadTFLiteWrapper()
144 std::unique_lock<std::mutex> lock(tflite_instance_->tflite_methods.mutex); in LoadTFLiteWrapper()
[all …]
Dvirtualtemp_estimator.h116 std::unique_ptr<VtEstimatorTFLiteData> tflite_instance_; variable