(model: torch.nn.Module)
| 10 | |
| 11 | |
| 12 | def torch_dfs(model: torch.nn.Module): |
| 13 | result = [model] |
| 14 | for child in model.children(): |
| 15 | result += torch_dfs(child) |
| 16 | return result |
| 17 | |
| 18 | |
| 19 | class ReferenceAttentionControl: |
no outgoing calls
no test coverage detected