RuntimeError: The Session graph is empty. Add operations to the graph before calling run().
RuntimeError: The Session graph is empty. Add operations to the graph before calling run().
运行以下代码出错
import tensorflow as tf
a = tf.constant(1.0)
b = tf.constant(2.0)
c = a * b
with tf.compat.v1.Sess...
原创
2020-02-11 14:51:49 ·
557 阅读 ·
0 评论