Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/pytorch
/ open
Method
open
test/test_datapipe.py:202–203 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
200
self.closed = False
201
202
def
open(self):
203
self.opened = True
204
205
def
read(self):
206
if
self.opened:
Callers
15
__init__
Method · 0.45
assetFilePath
Method · 0.45
assetFilePath
Method · 0.45
assetFilePath
Method · 0.45
compare_image_proto
Function · 0.45
test_api
Method · 0.45
_mute_init
Method · 0.45
test_serialization_gzip
Method · 0.45
test_serialization_offset_gzip
Method · 0.45
debug_records_from_mod
Method · 0.45
_get_test_image_tensor
Function · 0.45
_get_image
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected