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

Class SkipConnection

method/nn_util.py:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 return cat((x, y), dim=1)
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
32
33class ApplyVectorWeights(nn.Module):
34 def __init__(self):

Callers 1

__init__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected