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

Method forward

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

Source from the content-addressed store, hash-verified

434 self.scale_by_keep = scale_by_keep
435
436 def forward(self, x):
437 return drop_path(x, self.drop_prob, self.training, self.scale_by_keep)
438
439
440def trunc_normal_(tensor, mean=0., std=1., a=-2., b=2.):

Callers

nothing calls this directly

Calls 1

drop_pathFunction · 0.85

Tested by

no test coverage detected