Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/pytorch
/ _do_close
Method
_do_close
caffe2/python/session.py:164–165 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
162
return
task_group
163
164
def
_do_close(self):
165
pass
166
167
def
__enter__(self):
168
assert self._open,
'Session already closed.'
Callers
1
close
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected