MCPcopy Create free account
hub / github.com/VCIP-RGBD/DFormer / __enter__

Method __enter__

utils/engine/engine.py:182–183  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

180 )
181
182 def __enter__(self):
183 return self
184
185 def __exit__(self, type, value, tb):
186 torch.cuda.empty_cache()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected