📅  最后修改于: 2022-03-11 14:59:53.834000             🧑  作者: Mango
with tf.compat.v1.Graph().as_default(): i = tf.compat.v1.placeholder(shape=[None, None], dtype=tf.float32) t = tf.constant(i)Traceback (most recent call last):TypeError: ...