megengine.optimizer.SGD.backward

SGD.backward(loss)