There is an issue between Keras and TF, Probably tf.python.control_flow_ops does not exist or not visible anymore.
using below import statements you can resolve this issue
import tensorflow as tf
tf.python.control_flow_ops = tf
For Details check:
https://github.com/fchollet/keras/issues/3857