我想用来tf.print显示张量值,但是没有结果?
这是我的代码,有什么问题吗:
from __future__ import print_function
import tensorflow as tf
sess = tf.InteractiveSession()
a = tf.constant([1.0, 3.0])
tf.print(a)
相关分类