Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenImagingLab/FlashVSR
/ forward
Method
forward
diffsynth/models/wan_video_dit.py:285–287 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
283
return
x * torch.rsqrt(x.pow(2).mean(dim=-1, keepdim=True) + self.eps)
284
285
def
forward(self, x):
286
dtype = x.dtype
287
return
self.norm(x.float()).to(dtype) * self.weight
288
289
290
class
AttentionModule(nn.Module):
Callers
nothing calls this directly
Calls
2
norm
Method · 0.95
to
Method · 0.45
Tested by
no test coverage detected