Skip to content

Commit

Permalink
chore(eltociear): fix typo in optimizer_helper.py
Browse files Browse the repository at this point in the history
medthod -> method
  • Loading branch information
eltociear authored Sep 16, 2023
1 parent 6e93b4c commit a2fb4ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ding/torch_utils/optimizer_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def __init__(
):
r"""
Overview:
init medthod of refactored Adam class
init method of refactored Adam class
Arguments:
- params (:obj:`iterable`): – an iterable of torch.Tensor s or dict s. \
Specifies what Tensors should be optimized
Expand Down Expand Up @@ -400,7 +400,7 @@ def __init__(
):
r"""
Overview:
init medthod of refactored Adam class
init method of refactored Adam class
Arguments:
- params (:obj:`iterable`): – an iterable of torch.Tensor s or dict s. \
Specifies what Tensors should be optimized
Expand Down

0 comments on commit a2fb4ec

Please sign in to comment.