MCPcopy Create free account
hub / github.com/Pints-AI/1.5-Pints / __enter__

Method __enter__

lit_gpt/utils.py:235–236  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

233 self.next_key = 0
234
235 def __enter__(self):
236 return self
237
238 def store_early(self, tensor):
239 if isinstance(tensor, torch.Tensor):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected