Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/XLearning-SCU/2022-CVPR-DART
/ close
Method
close
utils.py:160–163 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
158
os.fsync(self.file.fileno())
159
160
def
close(self):
161
self.console.close()
162
if
self.file is not None:
163
self.file.close()
164
165
def
set_seed(seed, cuda=True):
166
random.seed(seed)
Callers
2
__del__
Method · 0.95
__exit__
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected