Closed sbrugman closed 6 years ago
There is one single change to make addition_test.py work with PyTorch 0.3.XX, which is:
addition_test.py
# For PyTorch 0.3.XX losses.append(loss.data.cpu()) # For PyTorch 0.4.XX losses.append(loss.data.cpu().item())
I want to abandon PyTorch 0.3. as the current stable branch is 0.4 and in 0.5/1.0 this wont work.
There is one single change to make
addition_test.py
work with PyTorch 0.3.XX, which is: