MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Init

Function Init

tensorflow/lite/models/speech_test.cc:32–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30const char kDataPath[] = "third_party/tensorflow/lite/models/testdata/";
31
32bool Init(const string& in_file_name, testing::TfLiteDriver* driver,
33 std::ifstream* in_file) {
34 driver->SetModelBaseDir(kDataPath);
35 in_file->open(string(kDataPath) + in_file_name, std::ifstream::in);
36 return in_file->is_open();
37}
38
39// Converts a set of test files provided by the speech team into a single
40// test_spec. Input CSV files are supposed to contain a number of sequences per

Callers 1

TEST_PFunction · 0.70

Calls 1

SetModelBaseDirMethod · 0.80

Tested by

no test coverage detected