Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ pair
Function
pair
sat/sgm/modules/autoencoding/magvit2_pytorch.py:56–57 ·
view source on GitHub ↗
(t)
Source
from the content-addressed store, hash-verified
54
55
56
def
pair(t):
57
return
t
if
isinstance(t, tuple)
else
(t, t)
58
59
60
def
identity(t, *args, **kwargs):
Callers
1
__init__
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected