Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepbrainai-research/float
/ framewise_modulate
Method
framewise_modulate
models/float/FMT.py:162–163 ·
view source on GitHub ↗
(self, x, shift, scale)
Source
from the content-addressed store, hash-verified
160
)
161
162
def
framewise_modulate(self, x, shift, scale) -> torch.Tensor:
163
return
x * (1 + scale) + shift
164
165
def
forward(self, x, c, mask=None) -> torch.Tensor:
166
assert mask is not None
Callers
1
forward
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected