Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/tools/benchmark/
Dbenchmark_tflite_model.cc213 if (inputs_data_.empty()) { in CleanUp()
217 for (int i = 0; i < inputs_data_.size(); ++i) { in CleanUp()
218 delete[] inputs_data_[i].data.raw; in CleanUp()
220 inputs_data_.clear(); in CleanUp()
319 inputs_data_.push_back(t_data); in PrepareInputData()
330 std::memcpy(interpreter->typed_tensor<float>(i), inputs_data_[j].data.f, in ResetInputsAndOutputs()
331 inputs_data_[j].bytes); in ResetInputsAndOutputs()
334 inputs_data_[j].data.i32, inputs_data_[j].bytes); in ResetInputsAndOutputs()
337 inputs_data_[j].data.uint8, inputs_data_[j].bytes); in ResetInputsAndOutputs()
340 inputs_data_[j].data.int8, inputs_data_[j].bytes); in ResetInputsAndOutputs()
Dbenchmark_tflite_model.h100 std::vector<InputTensorData> inputs_data_; variable