You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASENOTES.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,14 @@ __Breaking Changes__:
8
8
9
9
-`torchvision.dataset.MNIST` will try more mirrors.
10
10
- The thrown exception might be changed when it fails to download `MNIST`, `FashionMNIST` or `KMNIST`.
11
+
-`ObjectDisposedException` will now be thrown when trying to use the disposed dispose scopes.
12
+
- The constructor of dispose scopes is no longer `public`. Use `torch.NewDisposeScope` instead.
11
13
12
14
__API Changes__:
13
15
14
16
-#1291`Tensor.grad()` and `Tensor.set_grad()` have been replaced by a new property `Tensor.grad`.
15
17
- A potential memory leak caused by `set_grad` has been resolved.
18
+
-`Include` method of dispose scopes has been removed. Use `Attach` instead.
16
19
17
20
__Bug Fixes__:
18
21
@@ -25,6 +28,7 @@ __Bug Fixes__:
25
28
26
29
-`TensorDataset` will now keep the aliases detached from dispose scopes, to avoid the unexpected disposal.
27
30
-`DataLoaderEnumerator` has been completely rewritten to resolve the unexpected shuffler disposal, the ignorance of drop last and the incorrect count of worker.
31
+
-#1303 Allow dispose scopes to be disposed out of LIFO order.
0 commit comments