MCPcopy Create free account
hub / github.com/CompVis/zigma / t2i_modulate

Function t2i_modulate

model_zigma.py:57–58  ·  view source on GitHub ↗
(x, shift, scale)

Source from the content-addressed store, hash-verified

55
56
57def t2i_modulate(x, shift, scale):
58 return x * (1 + scale) + shift
59
60
61#################################################################################

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected