Commit 5f62543f authored by Yuge Zhang's avatar Yuge Zhang Committed by chicm-ms
Browse files

Fix naive test and tuner test on Windows pipeline with sleep (#1800)

parent 2576e55c
......@@ -6,6 +6,7 @@ import nni
if __name__ == '__main__':
nni.get_next_parameter()
time.sleep(1)
for i in range(10):
if i % 2 == 0:
print('report intermediate result without end of line.', end='')
......
......@@ -9,6 +9,7 @@ params = nni.get_next_parameter()
print('params:', params)
x = params['x']
time.sleep(1)
for i in range(1, 10):
nni.report_intermediate_result(x ** i)
time.sleep(0.5)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment