cvxpylayers
cvxpylayers copied to clipboard
pytorch tutorial: zero Xtrain.grad before using it
This PR fixes a small issue in the PyTorch tutorial where Xtrain.grad is not zeroed before it's used
This PR fixes a small issue in the PyTorch tutorial where Xtrain.grad is not zeroed before it's used