Returns device string like 'CPU' or 'GPU'.
(self, obj: Any)
| 60 | ... |
| 61 | |
| 62 | def get_device(self, obj: Any) -> str: |
| 63 | """Returns device string like 'CPU' or 'GPU'.""" |
| 64 | ... |
| 65 | |
| 66 | def get_dtype(self, obj: Any) -> Any: |
| 67 | """Returns the data type.""" |
no outgoing calls
no test coverage detected