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

Method __init__

method/nn_util.py:27–28  ·  view source on GitHub ↗
(self,)

Source from the content-addressed store, hash-verified

25
26class SkipConnection(nn.Module):
27 def __init__(self,):
28 super(SkipConnection, self).__init__()
29
30 def forward(self, x: Tensor, skip: Tensor) -> Tensor:
31 return x + skip

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected