MCPcopy
hub / github.com/TencentARC/Pixal3D / to

Method to

pixal3d/modules/sparse/basic.py:114–114  ·  view source on GitHub ↗
(self, dtype: torch.dtype, *, non_blocking: bool = False, copy: bool = False)

Source from the content-addressed store, hash-verified

112
113 @overload
114 def to(self, dtype: torch.dtype, *, non_blocking: bool = False, copy: bool = False) -> 'VarLenTensor': ...
115
116 @overload
117 def to(self, device: Optional[Union[str, torch.device]] = None, dtype: Optional[torch.dtype] = None, *, non_blocking: bool = False, copy: bool = False) -> 'VarLenTensor': ...

Callers 12

convert_module_toFunction · 0.45
_get_phasesMethod · 0.45
forwardMethod · 0.45
toMethod · 0.45
fullMethod · 0.45
_get_phasesMethod · 0.45
_rotary_embeddingMethod · 0.45
forwardMethod · 0.45
_sin_cos_embeddingMethod · 0.45
timestep_embeddingMethod · 0.45

Calls 1

replaceMethod · 0.95

Tested by

no test coverage detected