Commit 31e4769
Make torchvision.io.read_image{,_async} and torchvision.io.read_async allow subsequent opening of the file for reading (#1495)
* Fix torchvision.io.read_image{,_async}.
Addressed to #1494.
* Update src/TorchVision/IO/Image.cs.
+ Fix torchvision.io.read_image{,_async}.
- Allow subsequent opening of the file for reading.
* Fix torchvision.io.read_file_async.
* Update src/TorchVision/File.cs.
+ Fix torchvision.io.read_file_async.
- Allow subsequent opening of the file for reading.
---------
Co-authored-by: Masaru Kimura <masaru@hacarus.com>1 parent 57764e9 commit 31e4769
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
0 commit comments