| 30 | const char kDataPath[] = "third_party/tensorflow/lite/models/testdata/"; |
| 31 | |
| 32 | bool 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 |
no test coverage detected