Wraps fwd in a defun with custom gradient bak. Args: fwd: A callable xs: Nested Structure -> ys: Nested Structure. fwd_sig: A Nested Structure of tf.TensorSpec representing the input signature of `fwd`, or None (meaning that fwd takes no inputs). bak: A callable xs, ys, dys: Nes
(fwd, fwd_sig, bak=None, bak_as_function=False, device=None)
source not stored for this graph (policy: none)
no test coverage detected
searching dependent graphs…