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

Class IdentityMod

method/nn_util.py:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10
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
18
19class ConcatTensors(nn.Module):
20 def __init__(self):

Callers 4

__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected