Skip to content

Commit 770377c

Browse files
committed
update: test_scion_lmo_types
1 parent 1903bb6 commit 770377c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_optimizers.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,6 +1007,10 @@ def test_scion_lmo_types():
10071007
norm.init(grad)
10081008
norm.lmo(grad)
10091009

1010+
norm = build_lmo_norm(norm_type=2, max_scale=True)
1011+
norm.init(grad_2d)
1012+
norm.lmo(grad_2d)
1013+
10101014
with pytest.raises(NotImplementedError):
10111015
norm.init(grad_5d)
10121016

0 commit comments

Comments
 (0)