📜  tensorflow tf.constant - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:53.834000             🧑  作者: Mango

代码示例4
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: ...