Commit de845ea2 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by TensorFlower Gardener
Browse files

This CL switches the custom-registered-gradient of nested Functions from using...

This CL switches the custom-registered-gradient of nested Functions from using the C++ SymGrad to the correct forward & backward passes. This allows gradients of defuns nested > 2 levels deep to work correctly.

This CL also adds a number of unit tests to make sure various nestings of gradient & defuns work. (Note: unit tests that combine multiple levels of gradient tapes & multiple levels of defun still need to be added).

PiperOrigin-RevId: 216939066
parent df414e13
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment