A dictionary of the module parameter gradients.
(self)
| 273 | |
| 274 | @property |
| 275 | def gradients(self): |
| 276 | """A dictionary of the module parameter gradients.""" |
| 277 | return { |
| 278 | "components": { |
| 279 | "conv_1x1": self.conv_1x1.gradients, |
| 280 | "add_skip": self.add_skip.gradients, |
| 281 | "add_residual": self.add_residual.gradients, |
| 282 | "conv_dilation": self.conv_dilation.gradients, |
| 283 | "multiply_gate": self.multiply_gate.gradients, |
| 284 | } |
| 285 | } |
| 286 | |
| 287 | def forward(self, X_main, X_skip=None): |
| 288 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected