`torch.dtype`: The dtype of the module (assuming that all the module parameters have the same dtype).
(self)
| 883 | |
| 884 | @property |
| 885 | def dtype(self) -> torch.dtype: |
| 886 | """ |
| 887 | `torch.dtype`: The dtype of the module (assuming that all the module parameters have the same dtype). |
| 888 | """ |
| 889 | return get_parameter_dtype(self) |
| 890 | |
| 891 | def num_parameters(self, only_trainable: bool = False, exclude_embeddings: bool = False) -> int: |
| 892 | """ |
nothing calls this directly
no test coverage detected