(module, input, output)
| 46 | |
| 47 | # Forward hook to collect features |
| 48 | def hook(module, input, output): |
| 49 | G.activations = output |
| 50 | |
| 51 | # Apply the hook to the 7th layer (256x256) |
| 52 | for i, (name, module) in enumerate(G.synthesis.named_children()): |
no outgoing calls
no test coverage detected