Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
49
class
LayerNorm(nn.LayerNorm):
50
51
def
forward(self, x):
52
return
super().forward(x.float()).type_as(x)
53
54
55
class
SelfAttention(nn.Module):
Callers
nothing calls this directly
Calls
1
forward
Method · 0.45
Tested by
no test coverage detected