Commit 9831eb8b authored by Skye Wanderman-Milne's avatar Skye Wanderman-Milne Committed by TensorFlower Gardener
Browse files

Factor out some Operation mutations from Function into Operation.

These mutations are used to rewrite a forward function call to output its
intermediates when creating a gradient call. This change is in preparation
for making cond_v2 and while_v2 do the same thing, instead of outputing
all intermediates from the forward call when its created.

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