MCPcopy Create free account
hub / github.com/TimSeizinger/Bokehlicious / __init__

Method __init__

method/nn_util.py:13–14  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

11
12class IdentityMod(nn.Module):
13 def __init__(self):
14 super(IdentityMod, self).__init__()
15
16 def forward(self, x=None, *args, **kwargs) -> Tensor:
17 return x

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected