Make SGD match python (#15840)
authoran-kumar <an-kumar@users.noreply.github.com>
Thu, 10 Jan 2019 06:17:45 +0000 (22:17 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 10 Jan 2019 06:21:14 +0000 (22:21 -0800)
commitcdaeb0db545d50ee98d5dd1186ae258cbc744a86
tree88872c49e2bfa775112ddf25c18a457d4fe86026
parent628bf5e3c9a18d8a6626ba4e2c56714a9ea75bfd
Make SGD match python (#15840)

Summary:
Fixes https://github.com/pytorch/pytorch/issues/15530
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15840

Differential Revision: D13608503

Pulled By: goldsborough

fbshipit-source-id: aad17c110d64cbe2c126bccd36d228e4108ffa9a
torch/csrc/api/src/optim/sgd.cpp