MCPcopy Index your code
hub / github.com/pytorch/pytorch / close

Method close

caffe2/python/session.py:149–152  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

147 setup_net_list).obj)
148
149 def close(self):
150 if self.is_open():
151 self._do_close()
152 self._open = False
153
154 def fetch_output(self, output):
155 raise NotImplementedError()

Callers 10

__exit__Method · 0.95
__repr__Method · 0.45
renderFunction · 0.45
setUpMethod · 0.45
testSimpleMethod · 0.45
_GetFreeFlaskPortFunction · 0.45
logstrMethod · 0.45
_download_onnx_modelFunction · 0.45
create_testFunction · 0.45

Calls 2

is_openMethod · 0.95
_do_closeMethod · 0.95

Tested by 5

setUpMethod · 0.36
testSimpleMethod · 0.36
_download_onnx_modelFunction · 0.36
create_testFunction · 0.36