You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title says, tf.variable with an initial value does not work in eager mode. I'm not sure if it is supposed to, as tf.Variable does in the python api but apparently didn't at first. Interestingly, it's not the variable op that fails, it's the assign:
* Only supported on Graph sessions as the {@link org.tensorflow.op.core.Assign} op
I couldn't figure out an alternative at the time and needed it for the optimizers work. We should at minimum fix it so it throws a sensible looking exception.
As the title says,
tf.variable
with an initial value does not work in eager mode. I'm not sure if it is supposed to, astf.Variable
does in the python api but apparently didn't at first. Interestingly, it's not the variable op that fails, it's the assign:The text was updated successfully, but these errors were encountered: