Found error when trying to run code as is. Changing
from tensorflow.python import control_flow_ops to from tensorflow.python.ops import control_flow_ops fixed issue.
Thanks! The Tensorflow Python API has changed since the writing of the book -- please feel free to submit a pull request so we can merge in the code with the updated API! :)
Found error when trying to run code as is. Changing
from tensorflow.python import control_flow_ops
tofrom tensorflow.python.ops import control_flow_ops
fixed issue.