Transfers object to CPU if needed, returns CPU version.
(self, obj: Any)
| 76 | ... |
| 77 | |
| 78 | def to_cpu(self, obj: Any) -> Any: |
| 79 | """Transfers object to CPU if needed, returns CPU version.""" |
| 80 | ... |
| 81 | |
| 82 | def to_numpy(self, obj: Any) -> Any: |
| 83 | """Converts object to numpy array.""" |
no outgoing calls
no test coverage detected