Searched refs:test_fd (Results 1 – 4 of 4) sorted by relevance
/frameworks/ml/nn/tools/test_generator/ |
D | vts_generator.py | 285 print("#ifdef NN_TEST_DYNAMIC_OUTPUT_SHAPE", file=test_fd) 295 ), file=test_fd) 297 print("#endif", file=test_fd) 299 def InitializeFiles(model_fd, example_fd, test_fd): argument 318 spec_name=tg.FileNames.specName), file=test_fd) 329 SmartOpen(tg.FileNames.testFile, mode="a") as test_fd: 330 InitializeFiles(model_fd, example_fd, test_fd) 334 DumpTest=generate_vts_test, test_fd=test_fd)
|
D | cts_generator.py | 98 def InitializeFiles(model_fd, example_fd, test_fd): argument 113 print(fileHeader.format(spec_file=specFileBase), file=test_fd) 117 spec_name=tg.FileNames.specName), file=test_fd) 265 def DumpCtsTest(example, test_fd): argument 283 log_file=tg.FileNames.logFile), file=test_fd) 296 SmartOpen(tg.FileNames.testFile) as test_fd: 297 InitializeFiles(model_fd, example_fd, test_fd) 301 DumpTest=DumpCtsTest, test_fd=test_fd)
|
D | spec_visualizer.py | 405 DumpTest=None, test_fd=None)
|
D | test_generator.py | 1007 DumpTest=None, test_fd=None): argument 1010 example.Dump(DumpModel, model_fd, DumpExample, example_fd, DumpTest, test_fd) 1131 def Dump(self, DumpModel, model_fd, DumpExample, example_fd, DumpTest, test_fd): argument 1151 if DumpTest is not None and test_fd is not None: 1152 DumpTest(self, test_fd)
|