Skip to content

Commit 4e186bd

Browse files
authored
Update optimizer.py
1 parent 6b645d7 commit 4e186bd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

torch/optim/optimizer.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -846,9 +846,7 @@ def step(self, closure: Callable[[], float]) -> float:
846846
...
847847

848848
def step(self, closure: Optional[Callable[[], float]] = None) -> Optional[float]:
849-
r"""Perform a single optimization step.
850-
851-
Parameter update
849+
r"""Perform a single optimization step (parameter update).
852850
853851
Args:
854852
closure (Callable): A closure that reevaluates the model and

0 commit comments

Comments
 (0)