MCPcopy Create free account
hub / github.com/Intelligent-Computing-Lab-Panda/NDA_SNN / __init__

Method __init__

models/layers.py:22–24  ·  view source on GitHub ↗
(self, module)

Source from the content-addressed store, hash-verified

20class SpikeModule(nn.Module):
21
22 def __init__(self, module):
23 super().__init__()
24 self.ann_module = module
25
26 def forward(self, x):
27 B, T, *spatial_dims = x.shape

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected