MCPcopy 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
56def pair(t):
57 return t if isinstance(t, tuple) else (t, t)
58
59
60def identity(t, *args, **kwargs):

Callers 1

__init__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected