Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
render
Function · 0.45
setUp
Method · 0.45
testSimple
Method · 0.45
_GetFreeFlaskPort
Function · 0.45
logstr
Method · 0.45
_download_onnx_model
Function · 0.45
test_onnx_to_caffe2_zipfile
Method · 0.45
create_test
Function · 0.45
Calls
2
is_open
Method · 0.95
_do_close
Method · 0.95
Tested by
5
setUp
Method · 0.36
testSimple
Method · 0.36
_download_onnx_model
Function · 0.36
test_onnx_to_caffe2_zipfile
Method · 0.36
create_test
Function · 0.36