MCPcopy 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
assetFilePathMethod · 0.45
assetFilePathMethod · 0.45
assetFilePathMethod · 0.45
compare_image_protoFunction · 0.45
test_apiMethod · 0.45
_mute_initMethod · 0.45
_get_test_image_tensorFunction · 0.45
_get_imageFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected