Skip to content

Commit

Permalink
fix test in optimizer
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-haibin-lin committed Aug 5, 2017
1 parent 4281e43 commit 4a67309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python/unittest/test_optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def test_adam():
{'rescale_grad': 0.8, 'wd': 0.05}]
for kwarg in kwargs:
compare_optimizer(opt1(**kwarg), opt2(**kwarg), shape, np.float32)
compare_optimizer(opt1(**kwarg), opt2(**kwarg), shape, np.float32, w_stype='row_sparse')
compare_optimizer(opt1(**kwarg), opt2(**kwarg), shape, np.float32, g_stype='row_sparse')

# RMSProp
class PyRMSProp(mx.optimizer.Optimizer):
Expand Down

0 comments on commit 4a67309

Please sign in to comment.