MCPcopy
hub / github.com/facebookresearch/vggt / to

Method to

training/train_utils/general.py:128–130  ·  view source on GitHub ↗

Copy data to the specified device

(self, device: torch.device, *args: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

126@runtime_checkable
127class _CopyableData(Protocol):
128 def to(self, device: torch.device, *args: Any, **kwargs: Any):
129 """Copy data to the specified device"""
130 ...
131
132
133def _is_named_tuple(x) -> bool:

Callers 15

mainFunction · 0.80
demo_gradio.pyFile · 0.80
run_modelFunction · 0.80
demo_fnFunction · 0.80
closed_form_inverse_se3Function · 0.80
mat_to_quatFunction · 0.80
add_residualFunction · 0.80
corr_sampleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected