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

Method device

sat/sgm/modules/autoencoding/magvit2_pytorch.py:1308–1309  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1306
1307 @property
1308 def device(self):
1309 return self.zero.device
1310
1311 @classmethod
1312 def init_and_load_from(cls, path, strict=True):

Callers 15

__init__Method · 0.80
inference_yolos.pyFile · 0.80
buildFunction · 0.80
test_decodeFunction · 0.80
compress_int4_weightFunction · 0.80
extract_weight_to_halfFunction · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80

Calls

no outgoing calls

Tested by 2

__init__Method · 0.64
test_decodeFunction · 0.64