Searched refs:GetModelPath (Results 1 – 6 of 6) sorted by relevance
72 std::string GetModelPath() { return GetTestDataPath("actions/test_data/"); } in GetModelPath() function79 return ActionsSuggestions::FromPath(GetModelPath() + model_file_name, in LoadTestModel()83 return ActionsSuggestions::FromPath(GetModelPath() + kHashGramModelFileName, in LoadHashGramTestModel()88 GetModelPath() + kMultiTaskModelFileName, unilib_.get()); in LoadMultiTaskTestModel()93 GetModelPath() + kMultiTaskSrP13nModelFileName, unilib_.get()); in LoadMultiTaskSrP13nTestModel()170 ReadFile(GetModelPath() + kModelFileName); in TEST_F()224 ReadFile(GetModelPath() + kModelFileName); in TEST_F()310 ReadFile(GetModelPath() + kModelFileName); in TEST_F()355 ReadFile(GetModelPath() + kModelFileName); in TestSuggestActionsFromAnnotations()518 ReadFile(GetModelPath() + kModelFileName); in TestSuggestActionsWithThreshold()[all …]
59 std::string GetModelPath() { return GetTestDataPath("annotator/test_data/"); } in GetModelPath() function66 GetModelPath() + "lang_id.smfb")), in TranslateAnnotatorTest()
34 inline std::string GetModelPath() { in GetModelPath() function
46 std::string GetTestModelPath() { return GetModelPath() + "test_model.fb"; } in GetTestModelPath()49 return GetModelPath() + "test_vocab_model.fb"; in GetModelWithVocabPath()81 Annotator::FromPath(GetModelPath() + "wrong_embeddings.fb", unilib_.get(), in TEST_F()2316 GetModelPath() + "non_existing_model.fb", [](const Model* model) { in TEST_F()2838 libtextclassifier3::mobile::lang_id::GetLangIdFromFlatbufferFile(GetModelPath() + in TEST_F()
36 std::string GetModelPath() { return GetTestDataPath("annotator/test_data/"); } in GetModelPath() function46 grammar_buffer_ = ReadFile(GetModelPath() + "datetime.fb"); in SetUp()
42 std::string GetModelPath() { return GetTestDataPath("annotator/test_data/"); } in GetModelPath() function60 std::string model_buffer = ReadFile(GetModelPath() + "test_model.fb"); in LoadModel()