MCPcopy Create free account
hub / github.com/MotrixLab/MotionDiffuse / qrot_np

Function qrot_np

text2motion/utils/quaternion.py:134–137  ·  view source on GitHub ↗
(q, v)

Source from the content-addressed store, hash-verified

132
133
134def qrot_np(q, v):
135 q = torch.from_numpy(q).contiguous().float()
136 v = torch.from_numpy(v).contiguous().float()
137 return qrot(q, v).numpy()
138
139
140def qeuler_np(q, order, epsilon=0, use_gpu=False):

Callers 6

get_rifkeFunction · 0.85
get_quaternionFunction · 0.85
get_cont6d_paramsFunction · 0.85
extract_featuresFunction · 0.85
process_fileFunction · 0.85
forward_kinematics_npMethod · 0.85

Calls 1

qrotFunction · 0.85

Tested by

no test coverage detected