(module, input, output)
| 196 | """ |
| 197 | |
| 198 | def hook_fn(module, input, output): |
| 199 | self.hooks[layer_name] = output.clone().detach() |
| 200 | |
| 201 | layer = get_layer(self.model, layer_name) |
| 202 | layer.register_forward_hook(hook_fn) |
nothing calls this directly
no outgoing calls
no test coverage detected