MCPcopy Create free account
hub / github.com/PowerHouseMan/ComfyUI-AdvancedLivePortrait / forward

Method forward

LivePortrait/modules/util.py:114–119  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

112 self.norm = nn.BatchNorm3d(out_features, affine=True)
113
114 def forward(self, x):
115 out = F.interpolate(x, scale_factor=(1, 2, 2))
116 out = self.conv(out)
117 out = self.norm(out)
118 out = F.relu(out)
119 return out
120
121
122class DownBlock2d(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected