Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MotrixLab/AiOS
/ to_np
Function
to_np
util/smplx/smplx/utils.py:109–112 ·
view source on GitHub ↗
(array, dtype=np.float32)
Source
from the content-addressed store, hash-verified
107
108
109
def
to_np(array, dtype=np.float32):
110
if
'scipy.sparse'
in str(type(array)):
111
array = array.todense()
112
return
np.array(array, dtype=dtype)
113
114
115
def
rot_mat_to_euler(rot_mats):
Callers
3
__init__
Method · 0.70
__init__
Method · 0.70
__init__
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected