Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenImagingLab/FlashVSR
/ modulate
Function
modulate
diffsynth/models/stepvideo_dit.py:610–612 ·
view source on GitHub ↗
(x, scale, shift)
Source
from the content-addressed store, hash-verified
608
609
610
def
modulate(x, scale, shift):
611
x = x * (1 + scale) + shift
612
return
x
613
614
615
def
gate(x, gate):
Callers
1
forward
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected