Skip to content

Commit 922d2f8

Browse files
authored
Fix comment reference for blocked_autorange method
Updated comment to correct the reference to the benchmarking method.
1 parent af73618 commit 922d2f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes_source/recipes/benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def batched_dot_bmm(a, b):
292292
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
293293
#
294294
# While ``timeit.Timer.autorange`` takes a single continuous measurement
295-
# of at least 0.2 seconds, `torch.utils.benchmark.blocked_autorange`
295+
# of at least 0.2 seconds, `torch.utils.benchmark.Timer.blocked_autorange`
296296
# takes many measurements whose times total at least 0.2 seconds (which
297297
# can be changed by the `min_run_time` parameter) subject to the constraint
298298
# that timing overhead is a small fraction of the overall measurement.

0 commit comments

Comments
 (0)