Home
last modified time | relevance | path

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

/external/libtextclassifier/native/lang_id/fb_model/
Dlang-id-from-fb.cc29 std::unique_ptr<ModelProvider> model_provider( in GetLangIdFromFlatbufferFile() local
34 new LangId(std::move(model_provider))); in GetLangIdFromFlatbufferFile()
39 std::unique_ptr<ModelProvider> model_provider( in GetLangIdFromFlatbufferFileDescriptor() local
44 new LangId(std::move(model_provider))); in GetLangIdFromFlatbufferFileDescriptor()
49 std::unique_ptr<ModelProvider> model_provider( in GetLangIdFromFlatbufferFileDescriptor() local
54 new LangId(std::move(model_provider))); in GetLangIdFromFlatbufferFileDescriptor()
59 std::unique_ptr<ModelProvider> model_provider( in GetLangIdFromFlatbufferBytes() local
64 new LangId(std::move(model_provider))); in GetLangIdFromFlatbufferBytes()
/external/libtextclassifier/native/lang_id/
Dlang-id.cc63 explicit LangIdImpl(std::unique_ptr<ModelProvider> model_provider) in LangIdImpl() argument
64 : model_provider_(std::move(model_provider)), in LangIdImpl()
299 LangId::LangId(std::unique_ptr<ModelProvider> model_provider) in LangId() argument
300 : pimpl_(new LangIdImpl(std::move(model_provider))) { in LangId()
Dlang-id.h68 explicit LangId(std::unique_ptr<ModelProvider> model_provider);