Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenImagingLab/FlashVSR
/ forward
Method
forward
diffsynth/models/wan_video_vae.py:68–71 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
66
self.bias = nn.Parameter(torch.zeros(shape))
if
bias
else
0.
67
68
def
forward(self, x):
69
return
F.normalize(
70
x, dim=(1
if
self.channel_first
else
71
-1)) * self.scale * self.gamma + self.bias
72
73
74
class
Upsample(nn.Upsample):
Callers
2
forward
Method · 0.45
forward
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected