出现问题:
解决方法:
import tensorflow as tf
tf.compat.v1.disable_eager_execution()
hello = tf.constant('hello,tf')
sess = tf.compat.v1.Session()
print(sess.run(hello))```
2023-11-04 12:27:28
出现问题:
解决方法:
import tensorflow as tf
tf.compat.v1.disable_eager_execution()
hello = tf.constant('hello,tf')
sess = tf.compat.v1.Session()
print(sess.run(hello))```