Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenImagingLab/FlashVSR
/ forward
Method
forward
diffsynth/models/flux_dit.py:39–42 ·
view source on GitHub ↗
(self, ids)
Source
from the content-addressed store, hash-verified
37
38
39
def
forward(self, ids):
40
n_axes = ids.shape[-1]
41
emb = torch.cat([self.rope(ids[..., i], self.axes_dim[i], self.theta)
for
i in range(n_axes)], dim=-3)
42
return
emb.unsqueeze(1)
43
44
45
Callers
nothing calls this directly
Calls
1
rope
Method · 0.95
Tested by
no test coverage detected