Returns the layout string, or None if not available.
(self, obj: Any)
| 72 | ... |
| 73 | |
| 74 | def get_layout(self, obj: Any) -> Optional[str]: |
| 75 | """Returns the layout string, or None if not available.""" |
| 76 | ... |
| 77 | |
| 78 | def to_cpu(self, obj: Any) -> Any: |
| 79 | """Transfers object to CPU if needed, returns CPU version.""" |
no outgoing calls
no test coverage detected