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

Method __enter__

lit_gpt/utils_old.py:372–373  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

370 self.next_key = 0
371
372 def __enter__(self):
373 return self
374
375 def store_early(self, tensor):
376 if isinstance(tensor, torch.Tensor):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected