Home
last modified time | relevance | path

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

/external/libtextclassifier/lang_id/fb_model/
Dmodel-provider-from-fb.cc28 ModelProviderFromFlatbuffer::ModelProviderFromFlatbuffer(const string &filename) in ModelProviderFromFlatbuffer() function in libtextclassifier3::mobile::lang_id::ModelProviderFromFlatbuffer
37 ModelProviderFromFlatbuffer::ModelProviderFromFlatbuffer(int fd) in ModelProviderFromFlatbuffer() function in libtextclassifier3::mobile::lang_id::ModelProviderFromFlatbuffer
46 void ModelProviderFromFlatbuffer::Initialize(StringPiece model_bytes) { in Initialize()
82 bool ModelProviderFromFlatbuffer::InitNetworkParams() { in InitNetworkParams()
Dmodel-provider-from-fb.h36 class ModelProviderFromFlatbuffer : public ModelProvider {
40 explicit ModelProviderFromFlatbuffer(const string &filename);
44 explicit ModelProviderFromFlatbuffer(int fd);
59 ModelProviderFromFlatbuffer(const char *data, std::size_t size) { in ModelProviderFromFlatbuffer() function
64 ~ModelProviderFromFlatbuffer() override = default;
Dlang-id-from-fb.cc27 new ModelProviderFromFlatbuffer(filename)); in GetLangIdFromFlatbufferFile()
36 new ModelProviderFromFlatbuffer(fd)); in GetLangIdFromFlatbufferFileDescriptor()
46 new ModelProviderFromFlatbuffer(data, num_bytes)); in GetLangIdFromFlatbufferBytes()