Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/OpenMotionLab/MotionGPT
/ set_offset
Method
set_offset
mGPT/data/humanml/common/skeleton.py:23–24 ·
view source on GitHub ↗
(self, offsets)
Source
from the content-addressed store, hash-verified
21
return
self._offset
22
23
def
set_offset(self, offsets):
24
self._offset = offsets.clone().detach().to(self.device).float()
25
26
def
kinematic_tree(self):
27
return
self._kinematic_tree
Callers
1
uniform_skeleton
Function · 0.95
Calls
2
detach
Method · 0.80
to
Method · 0.45
Tested by
no test coverage detected