SyntaxFix
Write A Post
Hire A Developer
Questions
If you have TensorFlow 2.x:
sess = tf.compat.v1.Session(config=tf.compat.v1.ConfigProto(log_device_placement=True))