make momentum non negative in adagrad test (#18009)
authorJongsoo Park <jongsoo@fb.com>
Thu, 14 Mar 2019 10:12:08 +0000 (03:12 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 14 Mar 2019 10:15:07 +0000 (03:15 -0700)
commit8bd9465b79af9288d78deca8faddacbaa69a8abe
treedc9950061a0441f61c8a841b71e63ff08eb7c506
parentf827f1052a5ca3a270c7af51586058b21332e378
make momentum non negative in adagrad test (#18009)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18009

momentum should be initialized with non-negative values

Reviewed By: hyuen

Differential Revision: D14450841

fbshipit-source-id: 5bbbd11645db9e6f2dc42b26a00ff3caf378c59f
caffe2/python/operator_test/adagrad_test.py