Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ tokenize
Method
tokenize
sat/sgm/modules/autoencoding/magvit2_pytorch.py:1504–1506 ·
view source on GitHub ↗
(self, video)
Source
from the content-addressed store, hash-verified
1502
1503
@torch.no_grad()
1504
def
tokenize(self, video):
1505
self.eval()
1506
return
self.forward(video, return_codes=True)
1507
1508
@beartype
1509
def
forward(
Callers
nothing calls this directly
Calls
1
forward
Method · 0.95
Tested by
no test coverage detected