【发布时间】:2016-10-03 20:27:54
【问题描述】:
我正在学习 Tensorflow 的教程。
我想使用print显示变量W和b的值,它们分别是权重和偏差以及占位符x、y。
可以显示吗?
print x,y,b,W
我目前看到的如下
Tensor("Placeholder:0", shape=TensorShape([Dimension(None), Dimension(784)]), dtype=float32)
Tensor("Softmax:0", shape=TensorShape([Dimension(None), Dimension(10)]), dtype=float32)
tensorflow.python.ops.variables.Variable object at 0x1006b0b90>
tensorflow.python.ops.variables.Variable object at 0x101b76410>
【问题讨论】:
标签: python tensorflow