MCPcopy
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
42def to_numpy(x): return todevice(x, 'numpy')
43def to_cpu(x): return todevice(x, 'cpu')
44def to_cuda(x): return todevice(x, 'cuda')
45

Callers 13

get_3D_model_from_sceneFunction · 0.90
get_reconstructed_sceneFunction · 0.90
cat_3dFunction · 0.90
add_pointcloudMethod · 0.90
add_cameraMethod · 0.90
segment_skyFunction · 0.90
showMethod · 0.90
_set_principal_pointMethod · 0.90
_set_principal_pointMethod · 0.90

Calls 1

todeviceFunction · 0.85

Tested by

no test coverage detected