MCPcopy 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
610def modulate(x, scale, shift):
611 x = x * (1 + scale) + shift
612 return x
613
614
615def gate(x, gate):

Callers 1

forwardMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected