Searched refs:test_fd (Results 1 – 3 of 3) 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)
|