Searched refs:ModelProviderFromFlatbuffer (Results 1 – 3 of 3) sorted by relevance
28 ModelProviderFromFlatbuffer::ModelProviderFromFlatbuffer(const string &filename) in ModelProviderFromFlatbuffer() function in libtextclassifier3::mobile::lang_id::ModelProviderFromFlatbuffer37 ModelProviderFromFlatbuffer::ModelProviderFromFlatbuffer(int fd) in ModelProviderFromFlatbuffer() function in libtextclassifier3::mobile::lang_id::ModelProviderFromFlatbuffer46 void ModelProviderFromFlatbuffer::Initialize(StringPiece model_bytes) { in Initialize()82 bool ModelProviderFromFlatbuffer::InitNetworkParams() { in InitNetworkParams()
36 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() function64 ~ModelProviderFromFlatbuffer() override = default;
27 new ModelProviderFromFlatbuffer(filename)); in GetLangIdFromFlatbufferFile()36 new ModelProviderFromFlatbuffer(fd)); in GetLangIdFromFlatbufferFileDescriptor()46 new ModelProviderFromFlatbuffer(data, num_bytes)); in GetLangIdFromFlatbufferBytes()