We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71b8762 commit fe3b5d9Copy full SHA for fe3b5d9
tests/test_optimizer_parameters.py
@@ -52,7 +52,7 @@ def test_came_parameters():
52
53
54
def test_pcgrad_parameters():
55
- opt = load_optimizer('adamp')([simple_parameter()])
+ opt = load_optimizer('adamw')([simple_parameter()])
56
57
# test reduction
58
for reduction in ['mean', 'sum']:
@@ -64,16 +64,16 @@ def test_pcgrad_parameters():
64
65
def test_sam_parameters():
66
with pytest.raises(ValueError):
67
- SAM(None, load_optimizer('adamp'), rho=-0.1)
+ SAM(None, load_optimizer('adamw'), rho=-0.1)
68
69
70
def test_wsam_parameters():
71
72
- WSAM(None, None, load_optimizer('adamp'), rho=-0.1)
+ WSAM(None, None, load_optimizer('adamw'), rho=-0.1)
73
74
75
def test_lookahead_parameters():
76
- optimizer = load_optimizer('adamp')([simple_parameter()])
+ optimizer = load_optimizer('adamw')([simple_parameter()])
77
78
for pullback_momentum in PULLBACK_MOMENTUM:
79
opt = Lookahead(optimizer, pullback_momentum=pullback_momentum)
0 commit comments