(m: Module)
| 15 | return val is not None |
| 16 | |
| 17 | def get_module_device(m: Module): |
| 18 | return next(m.parameters()).device |
| 19 | |
| 20 | def inplace_copy(src: Tensor, tgt: Tensor, *, auto_move_device = False): |
| 21 | if auto_move_device: |
nothing calls this directly
no outgoing calls
no test coverage detected