Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains authored Jul 31, 2024
1 parent a033030 commit ff2d25d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions adam_atan2_pytorch/foreach.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,6 @@ def step(
torch._foreach_mul_(den, b * b / bias_correct2)
torch._foreach_sqrt_(den)

# the following line is the proposed change to the update rule
# using atan2 instead of a division with epsilon in denominator

self._foreach_atan2_(updates, den)

# update params
Expand Down

0 comments on commit ff2d25d

Please sign in to comment.