(k, l)
| 497 | |
| 498 | |
| 499 | def root_of_any(k, l): |
| 500 | for s in l: |
| 501 | a = accumulate(k.split('.'), lambda x, y: x + '.' + y) |
| 502 | for r in a: |
| 503 | if s == r: |
| 504 | return True |
| 505 | return False |
| 506 | |
| 507 | |
| 508 | def freeze_module(module: nn.Module): |
no test coverage detected