Define the gradients for the value val wrt the inputs
(self, val, inputs, grads)
| 284 | raise NotImplementedError() |
| 285 | |
| 286 | def set_gradients(self, val, inputs, grads): |
| 287 | """Define the gradients for the value val wrt the inputs""" |
| 288 | raise NotImplementedError() |
| 289 | |
| 290 | def detach(self, *arrays): |
| 291 | """Detach the tensors from the computation graph |
no outgoing calls