Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vchitect/Latte
/ get_dim
Method
get_dim
tools/utils/layers.py:239–240 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
237
self.const = nn.Parameter(torch.randn(1, channel_dim, 4, 4))
238
239
def
get_dim(self):
240
return
self.motion_v_dim + self.const.shape[1]
241
242
def
forward(self, motion_v: torch.Tensor) -> torch.Tensor:
243
""
"
Callers
2
__init__
Method · 0.45
get_dim
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected