Home
last modified time | relevance | path

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

/external/libtextclassifier/lang_id/fb_model/
Dlang-id-from-fb.cc26 std::unique_ptr<ModelProvider> model_provider( in GetLangIdFromFlatbufferFile() local
31 new LangId(std::move(model_provider))); in GetLangIdFromFlatbufferFile()
35 std::unique_ptr<ModelProvider> model_provider( in GetLangIdFromFlatbufferFileDescriptor() local
40 new LangId(std::move(model_provider))); in GetLangIdFromFlatbufferFileDescriptor()
45 std::unique_ptr<ModelProvider> model_provider( in GetLangIdFromFlatbufferBytes() local
50 new LangId(std::move(model_provider))); in GetLangIdFromFlatbufferBytes()
/external/libtextclassifier/lang_id/
Dlang-id.cc58 explicit LangIdImpl(std::unique_ptr<ModelProvider> model_provider) in LangIdImpl() argument
59 : model_provider_(std::move(model_provider)), in LangIdImpl()
260 LangId::LangId(std::unique_ptr<ModelProvider> model_provider) in LangId() argument
261 : pimpl_(new LangIdImpl(std::move(model_provider))) {} in LangId()
Dlang-id.h68 explicit LangId(std::unique_ptr<ModelProvider> model_provider);