MCPcopy Create free account
hub / github.com/LUMIA-Group/MemoryDecoder / forward

Method forward

knn_utils/saveEmbedMulti.py:487–491  ·  view source on GitHub ↗
(self, module, input, output)

Source from the content-addressed store, hash-verified

485 self.captured = None
486
487 def forward(self, module, input, output):
488 if self.capture_input:
489 self.captured = input[0].detach()
490 else:
491 self.captured = output.detach()
492
493
494def get_dstore_path(dstore_dir, model_type, eval_subset, dimension):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected