diff --git a/recipes_source/recipes/benchmark.py b/recipes_source/recipes/benchmark.py index d02157a83e4..96fdf109bde 100644 --- a/recipes_source/recipes/benchmark.py +++ b/recipes_source/recipes/benchmark.py @@ -292,7 +292,7 @@ def batched_dot_bmm(a, b): # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # While ``timeit.Timer.autorange`` takes a single continuous measurement -# of at least 0.2 seconds, `torch.utils.benchmark.blocked_autorange` +# of at least 0.2 seconds, `torch.utils.benchmark.Timer.blocked_autorange` # takes many measurements whose times total at least 0.2 seconds (which # can be changed by the `min_run_time` parameter) subject to the constraint # that timing overhead is a small fraction of the overall measurement. @@ -884,5 +884,5 @@ def pretty_print(result): # # Take a look at these other recipes to continue your learning: # -# - `PyTorch Profiler `_ +# - `PyTorch Profiler `_ #