Searched refs:txt_path (Results 1 – 2 of 2) sorted by relevance
154 txt_path = os.path.join(self.working_dir, input_root + '.txt')156 with open(txt_path, 'w') as outfile:172 return self._VerifyEmptyText(txt_path)179 return self._VerifyEmptyText(txt_path)181 cmd = [sys.executable, self.text_diff_path, expected_txt_path, txt_path]184 def _VerifyEmptyText(self, txt_path): argument186 with open(txt_path, "r") as txt_file:193 raise Exception('%s should be empty.' % txt_path)
245 txt_path = os.path.join(export_dir, constants.SAVED_MODEL_FILENAME_PBTXT)247 return file_io.file_exists(txt_path) or file_io.file_exists(pb_path)