`torch.dtype`: The dtype of the module (assuming that all the module parameters have the same dtype).
(self)
| 1012 | |
| 1013 | @property |
| 1014 | def dtype(self) -> torch.dtype: |
| 1015 | """ |
| 1016 | `torch.dtype`: The dtype of the module (assuming that all the module parameters have the same dtype). |
| 1017 | """ |
| 1018 | return get_parameter_dtype(self) |
| 1019 | |
| 1020 | def num_parameters(self, only_trainable: bool = False, exclude_embeddings: bool = False) -> int: |
| 1021 | """ |
nothing calls this directly
no test coverage detected