MCPcopy Create free account
hub / github.com/Xiaobin-Rong/gtcrn / forward

Method forward

gtcrn.py:258–262  ·  view source on GitHub ↗
(self, x, en_outs)

Source from the content-addressed store, hash-verified

256 ])
257
258 def forward(self, x, en_outs):
259 N_layers = len(self.de_convs)
260 for i in range(N_layers):
261 x = self.de_convs[i](x + en_outs[N_layers-1-i])
262 return x
263
264
265class Mask(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected