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 300c539 commit cdebfd6Copy full SHA for cdebfd6
tests/test_gradients.py
@@ -34,7 +34,7 @@ def test_no_gradients(optimizer_name):
34
35
@pytest.mark.parametrize('no_sparse_optimizer', NO_SPARSE_OPTIMIZERS)
36
def test_sparse_not_supported(no_sparse_optimizer):
37
- param = simple_sparse_parameter()
+ param = simple_sparse_parameter()[1]
38
39
opt = load_optimizer(optimizer=no_sparse_optimizer)
40
optimizer = opt([param], num_iterations=1) if no_sparse_optimizer == 'ranger21' else opt([param])
0 commit comments