Home
last modified time | relevance | path

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

/external/libtextclassifier/lang_id/
Dlang-id.cc59 : model_provider_(std::move(model_provider)), in LangIdImpl()
64 if (!model_provider_ || !model_provider_->is_valid()) { in LangIdImpl()
69 auto *nn_params = model_provider_->GetNnParams(); in LangIdImpl()
76 languages_ = model_provider_->GetLanguages(); in LangIdImpl()
82 TaskContext context = *model_provider_->GetTaskContext(); in LangIdImpl()
169 return model_provider_->GetTaskContext()->Get(property, default_value); in GetProperty()
230 std::unique_ptr<ModelProvider> model_provider_; member in libtextclassifier3::mobile::lang_id::LangIdImpl