MCPcopy 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
339def cont6d_to_matrix_np(cont6d):
340 q = torch.from_numpy(cont6d).contiguous().float()
341 return cont6d_to_matrix(q).numpy()
342
343
344def qpow(q0, t, dtype=torch.float):

Callers 1

Calls 1

cont6d_to_matrixFunction · 0.85

Tested by

no test coverage detected