Forward-mode autodifff fails to process input in tf.Variable
type when taking higher-order JVPs and throws Internal error
#57358
Labels
comp:ops
OPs related issues
stat:awaiting tensorflower
Status - Awaiting response from tensorflower
TF 2.9
Issues found in the TF 2.9 release (or RCs)
type:bug
Bug
Click to expand!
Issue Type
Bug
Source
binary
Tensorflow Version
tf 2.9
Custom Code
Yes
OS Platform and Distribution
Linux Ubuntu 20.04
Mobile device
No response
Python version
3.8
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
Standalone code to reproduce the issue
import tensorflow as tf primal = tf.Variable(1.1) with tf.autodiff.ForwardAccumulator(primal, tf.constant(1.)) as outer: with tf.autodiff.ForwardAccumulator(primal, tf.constant(1.)) as inner: primal_out = primal ** tf.constant(3.5) inner_jvp = inner.jvp(primal_out) outer_jvp = outer.jvp(inner_jvp)
Relevant log output
The text was updated successfully, but these errors were encountered: