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

Method dtype

eval_code/recons/models/moge/model/v1.py:211–212  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

209
210 @property
211 def dtype(self) -> torch.dtype:
212 return next(self.parameters()).dtype
213
214 @classmethod
215 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

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected