Home
last modified time | relevance | path

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

/external/libtextclassifier/native/actions/
Dtflite-sensitive-model.cc33 if (result_model->model_executor_ == nullptr) { in Create()
51 if (model_executor_ == nullptr) { in EvalConversation()
54 const auto interpreter = model_executor_->CreateInterpreter(); in EvalConversation()
82 model_executor_->SetInput<std::string>( in EvalConversation()
87 model_executor_->SetInput<int>( in EvalConversation()
94 model_executor_->SetInput<int>( in EvalConversation()
106 model_executor_->Output<tflite::StringRef>( in EvalConversation()
108 const TensorView<float> scores = model_executor_->OutputView<float>( in EvalConversation()
126 model_executor_(TfLiteModelExecutor::FromBuffer( in TFLiteSensitiveModel()
Dactions-suggestions.cc279 model_executor_ = TfLiteModelExecutor::FromBuffer( in ValidateAndInitialize()
281 if (!model_executor_) { in ValidateAndInitialize()
686 model_executor_->SetInput<std::string>( in SetupModelInput()
693 model_executor_->SetInput<std::string>( in SetupModelInput()
698 model_executor_->SetInput<int>( in SetupModelInput()
704 model_executor_->SetInput<int>( in SetupModelInput()
710 model_executor_->SetInput<int>( in SetupModelInput()
715 model_executor_->SetInput<int>( in SetupModelInput()
720 model_executor_->SetInput<float>( in SetupModelInput()
729 model_executor_->SetInput<int>( in SetupModelInput()
[all …]
Dtflite-sensitive-model.h41 std::unique_ptr<const TfLiteModelExecutor> model_executor_; variable
Dactions-suggestions.h238 std::unique_ptr<const TfLiteModelExecutor> model_executor_; variable