tensorflow1.0 official basement

Posted 醉清风--

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了tensorflow1.0 official basement相关的知识,希望对你有一定的参考价值。


tensorflow 1.0 新的赋值形式。
W = tf.Variable([.3], tf.float32)
b = tf.Variable([-.3], tf.float32)
x = tf.placeholder(tf.float32)
linear_model = W * x + b

print (linear_model,{x:[1,2,3,4]})

以上是关于tensorflow1.0 official basement的主要内容,如果未能解决你的问题,请参考以下文章