MCPcopy
hub / github.com/OpenMotionLab/MotionGPT / to

Method to

mGPT/data/transforms/base.py:66–70  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

64 return iter(data)
65
66 def to(self, *args, **kwargs):
67 for key in self.datakeys:
68 if self[key] is not None:
69 self[key] = self[key].to(*args, **kwargs)
70 return self
71
72 @property
73 def device(self):

Callers 15

fit.pyFile · 0.45
app.pyFile · 0.45
load_motionFunction · 0.45
add_audioFunction · 0.45
botFunction · 0.45
mainFunction · 0.45
estimate_translationFunction · 0.45
forward_encdecMethod · 0.45
forward_decMethod · 0.45
generate_directMethod · 0.45
filter_input_idsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected