(self, input, output)
| 141 | param.register_hook(allreduce_hook) |
| 142 | |
| 143 | def set_needs_reduction(self, input, output): |
| 144 | self.needs_reduction = True |
| 145 | |
| 146 | module.register_forward_hook(set_needs_reduction) |
| 147 | return module |
nothing calls this directly
no outgoing calls
no test coverage detected