MCPcopy Create free account
hub / github.com/TencentARC/MotionCtrl / forward

Method forward

lvdm/modules/networks/ae_modules.py:606–616  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

604 padding=1)
605
606 def forward(self, x):
607 for i, layer in enumerate(self.model):
608 if i in [1,2,3]:
609 x = layer(x, None)
610 else:
611 x = layer(x)
612
613 h = self.norm_out(x)
614 h = nonlinearity(h)
615 x = self.conv_out(h)
616 return x
617
618
619class UpsampleDecoder(nn.Module):

Callers

nothing calls this directly

Calls 1

nonlinearityFunction · 0.70

Tested by

no test coverage detected