MCPcopy Create free account
hub / github.com/DingLei14/WiCoNet / forward

Method forward

models/WiCoNet.py:189–193  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

187 self.encode = nn.Sequential(*layers)
188
189 def forward(self, x):
190 if self.downsample:
191 x = self.maxpool(x)
192 x = self.encode(x)
193 return x
194
195class Transformer(nn.Module):
196 def __init__(self, in_channels1, in_channels2, feat_size1, feat_size2, hidden_size=args['D']):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected