Lines Matching refs:Interpreter
64 Interpreter->Invoke(); in evaluate()
78 std::unique_ptr<tflite::Interpreter> Interpreter; member in llvm::TFModelEvaluatorImpl
122 Builder(&Interpreter); in TFModelEvaluatorImpl()
124 if (!Interpreter) { in TFModelEvaluatorImpl()
134 for (size_t I = 0; I < Interpreter->inputs().size(); ++I) in TFModelEvaluatorImpl()
135 Interpreter->tensor(I)->allocation_type = in TFModelEvaluatorImpl()
138 if (Interpreter->AllocateTensors() != TfLiteStatus::kTfLiteOk) { in TFModelEvaluatorImpl()
145 for (size_t I = 0; I < Interpreter->inputs().size(); ++I) in TFModelEvaluatorImpl()
146 InputsMap[Interpreter->GetInputName(I)] = I; in TFModelEvaluatorImpl()
147 for (size_t I = 0; I < Interpreter->outputs().size(); ++I) in TFModelEvaluatorImpl()
148 OutputsMap[Interpreter->GetOutputName(I)] = I; in TFModelEvaluatorImpl()
159 Input[I] = Interpreter->tensor(MapI->second); in TFModelEvaluatorImpl()
167 if (NumberFeaturesPassed < Interpreter->inputs().size()) { in TFModelEvaluatorImpl()
176 Output[I] = Interpreter->output_tensor( in TFModelEvaluatorImpl()