(src: Tensor, tgt: Tensor, weight, *, auto_move_device = False)
| 24 | src.copy_(tgt) |
| 25 | |
| 26 | def inplace_lerp(src: Tensor, tgt: Tensor, weight, *, auto_move_device = False): |
| 27 | if auto_move_device: |
| 28 | tgt = tgt.to(src.device) |
| 29 | |
| 30 | src.lerp_(tgt, weight) |
| 31 | |
| 32 | class EMA(Module): |
| 33 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected