MCPcopy Create free account
hub / github.com/InternRobotics/G2VLM / dtype

Method dtype

eval_code/recons/models/moge/model/v2.py:63–64  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

61
62 @property
63 def dtype(self) -> torch.dtype:
64 return next(self.parameters()).dtype
65
66 @classmethod
67 def from_pretrained(cls, pretrained_model_name_or_path: Union[str, Path, IO[bytes]], model_kwargs: Optional[Dict[str, Any]] = None, **hf_kwargs) -> 'MoGeModel':

Callers 6

dtype.pyFile · 0.45
as_torch_dtypeFunction · 0.45
dtype.pyFile · 0.45
as_torch_dtypeFunction · 0.45
dtype.pyFile · 0.45
as_torch_dtypeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected