MCPcopy Create free account
hub / github.com/Francis-Rings/FlashPortrait / forward

Method forward

wan/models/wan_image_encoder.py:51–52  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

49class LayerNorm(nn.LayerNorm):
50
51 def forward(self, x):
52 return super().forward(x.float()).type_as(x)
53
54
55class SelfAttention(nn.Module):

Callers

nothing calls this directly

Calls 1

forwardMethod · 0.45

Tested by

no test coverage detected