Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LTH14/mar
/ modulate
Function
modulate
models/diffloss.py:55–56 ·
view source on GitHub ↗
(x, shift, scale)
Source
from the content-addressed store, hash-verified
53
54
55
def
modulate(x, shift, scale):
56
return
x * (1 + scale) + shift
57
58
59
class
TimestepEmbedder(nn.Module):
Callers
2
forward
Method · 0.85
forward
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected