Skip to content

Make torchvision.io.read_image{,_async} and torchvision.io.read_async allow subsequent opening of the file for reading#1495

Merged
alinpahontu2912 merged 2 commits intodotnet:mainfrom
hacarus:fix-stream-open-read
Feb 11, 2026
Merged

Make torchvision.io.read_image{,_async} and torchvision.io.read_async allow subsequent opening of the file for reading#1495
alinpahontu2912 merged 2 commits intodotnet:mainfrom
hacarus:fix-stream-open-read

Conversation

@hiyuh
Copy link
Copy Markdown
Contributor

@hiyuh hiyuh commented Sep 9, 2025

@alinpahontu2912
Copy link
Copy Markdown
Member

Hey @hiyuh, can you update your branch?

Addressed to dotnet#1494.

* Update src/TorchVision/IO/Image.cs.
  + Fix torchvision.io.read_image{,_async}.
    - Allow subsequent opening of the file for reading.
* Update src/TorchVision/File.cs.
  + Fix torchvision.io.read_file_async.
    - Allow subsequent opening of the file for reading.
@masaru-kimura-hacarus
Copy link
Copy Markdown
Contributor

@alinpahontu2912

  • rebased.
  • if additional RELEASENOTES.md update for 0.105.3 is needed, please feel free to request me or DIY.

@alinpahontu2912 alinpahontu2912 self-requested a review February 11, 2026 13:09
@alinpahontu2912 alinpahontu2912 merged commit 31e4769 into dotnet:main Feb 11, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants