Skip to content

Commit b491445

Browse files
committed
Update benchmark.py
1 parent 9a7f203 commit b491445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnxcustom/utils/benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def measure_time(stmt, context, repeat=10, number=50, div_by_number=False):
2020
.. runpython::
2121
:showcode:
2222
23-
from onnxcustom.tools import measure_time
23+
from onnxcustom.utils import measure_time
2424
from math import cos
2525
2626
res = measure_time("cos(x)", context=dict(cos=cos, x=5.))

0 commit comments

Comments
 (0)