Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Francis-Rings/MotionFollower
/ modulate
Function
modulate
src/models/transformer_3d.py:27–28 ·
view source on GitHub ↗
(x, shift, scale)
Source
from the content-addressed store, hash-verified
25
26
27
def
modulate(x, shift, scale):
28
return
x * (1 + scale.unsqueeze(1)) + shift.unsqueeze(1)
29
30
class
FinalLayer(nn.Module):
31
def
__init__(self, hidden_size):
Callers
1
forward
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected