MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / cast_tuple

Function cast_tuple

sat/sgm/modules/autoencoding/vqvae/movq_dec_3d_dev.py:15–16  ·  view source on GitHub ↗
(t, length=1)

Source from the content-addressed store, hash-verified

13
14
15def cast_tuple(t, length=1):
16 return t if isinstance(t, tuple) else ((t,) * length)
17
18
19def divisible_by(num, den):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected