Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
address review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
apeforest committed Sep 4, 2019
1 parent bca8c2f commit 2d718c1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/python/unittest/test_profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ def get_log():
task.start()
start = time.time()
var = mx.nd.ones((1000, 500))
log = get_log()
assert len(log) == 10
assert len(get_log()) == 10
var.asnumpy()
stop = time.time()
task.stop()
Expand All @@ -136,8 +135,7 @@ def get_log():
frame.start()
start = time.time()
var = mx.nd.ones((1000, 500))
log = get_log()
assert len(log) == 100000
assert len(get_log()) == 100000
var.asnumpy()
stop = time.time()
frame.stop()
Expand Down

0 comments on commit 2d718c1

Please sign in to comment.