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 770377c commit 39fd43eCopy full SHA for 39fd43e
tests/test_optimizers.py
@@ -1007,16 +1007,16 @@ def test_scion_lmo_types():
1007
norm.init(grad)
1008
norm.lmo(grad)
1009
1010
- norm = build_lmo_norm(norm_type=2, max_scale=True)
1011
- norm.init(grad_2d)
1012
- norm.lmo(grad_2d)
1013
-
1014
with pytest.raises(NotImplementedError):
1015
norm.init(grad_5d)
1016
1017
1018
norm.lmo(grad_5d)
1019
+ norm = build_lmo_norm(norm_type=2, max_scale=True)
+ norm.init(grad_2d)
+ norm.lmo(grad_2d)
+
1020
norm = build_lmo_norm(norm_type=4, zero_init=True)
1021
norm.init(grad_2d)
1022
norm.lmo(grad_2d)
0 commit comments