Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenImagingLab/FlashVSR
/ modulate
Function
modulate
diffsynth/models/omnigen.py:191–192 ·
view source on GitHub ↗
(x, shift, scale)
Source
from the content-addressed store, hash-verified
189
190
191
def
modulate(x, shift, scale):
192
return
x * (1 + scale.unsqueeze(1)) + shift.unsqueeze(1)
193
194
195
class
TimestepEmbedder(nn.Module):
Callers
1
forward
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected