Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/naver/dust3r
/ to_numpy
Function
to_numpy
dust3r/utils/device.py:42–42 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
40
41
42
def
to_numpy(x):
return
todevice(x,
'numpy'
)
43
def
to_cpu(x):
return
todevice(x,
'cpu'
)
44
def
to_cuda(x):
return
todevice(x,
'cuda'
)
45
Callers
13
_convert_scene_output_to_glb
Function · 0.90
get_3D_model_from_scene
Function · 0.90
get_reconstructed_scene
Function · 0.90
cat_3d
Function · 0.90
add_pointcloud
Method · 0.90
add_camera
Method · 0.90
show_raw_pointcloud_with_cams
Function · 0.90
segment_sky
Function · 0.90
get_med_dist_between_poses
Function · 0.90
show
Method · 0.90
_set_principal_point
Method · 0.90
_set_principal_point
Method · 0.90
Calls
1
todevice
Function · 0.85
Tested by
no test coverage detected