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
But running it inside of the vignette breaks and gives this error:
Error in py_call_impl(callable, call_args$unnamed, call_args$named) :
TypeError: <tf.Tensor 'chain_of_reshape_5_of_chain_of_shift_5_of_scale_5_of_sigmoid_5/forward/reshape_5/forward/Reshape:0' shape=(1, 1, 1) dtype=float64> is out of scope and cannot be used here. Use return values, explicit Python locals or TensorFlow collections to access it.
Please see https://www.tensorflow.org/guide/function#all_outputs_of_a_tffunction_must_be_return_values for more information.
<...truncated...>in _create_op_internal
File "/Users/nick/Library/r-miniconda-arm64/envs/greta-env-tf2/lib/python3.10/site-packages/tensorflow/python/framework/ops.py", line 1160, in from_node_def
The tensor <tf.Tensor 'chain_of_reshape_5_of_chain_of_shift_5_of_scale_5_of_sigmoid_5/forward/reshape_5/forward/Reshape:0' shape=(1, 1, 1) dtype=float64> cannot be accessed from here, because it was defined in FuncGraph(name=fn, id=15414436784), which is out of scope.
The text was updated successfully, but these errors were encountered:
I can run the example separately here:
Created on 2024-11-14 with reprex v2.1.1
Session info
But running it inside of the vignette breaks and gives this error:
The text was updated successfully, but these errors were encountered: