Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MotrixLab/MotionDiffuse
/ cont6d_to_matrix_np
Function
cont6d_to_matrix_np
text2motion/utils/quaternion.py:339–341 ·
view source on GitHub ↗
(cont6d)
Source
from the content-addressed store, hash-verified
337
338
339
def
cont6d_to_matrix_np(cont6d):
340
q = torch.from_numpy(cont6d).contiguous().float()
341
return
cont6d_to_matrix(q).numpy()
342
343
344
def
qpow(q0, t, dtype=torch.float):
Callers
1
forward_kinematics_cont6d_np
Method · 0.85
Calls
1
cont6d_to_matrix
Function · 0.85
Tested by
no test coverage detected