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

Method __init__

knn_utils/saveEmbedMulti.py:480–485  ·  view source on GitHub ↗
(self, layer, capture_input=False)

Source from the content-addressed store, hash-verified

478
479class ActivationCapturer(nn.Module):
480 def __init__(self, layer, capture_input=False):
481 super().__init__()
482 self.layer = layer
483 self.capture_input = capture_input
484
485 self.captured = None
486
487 def forward(self, module, input, output):
488 if self.capture_input:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected