Tensorflow--Day 1
import tensorflow as tf# Model parameters
W = tf.Variable([.3], dtype=tf.float32)
b = tf.Variable([-.3], dtype=tf.float32)
# Model input and output
x = tf.placeholder(tf.float32)
linear_model = W * x +
转载
2017-10-09 06:31:40 ·
349 阅读 ·
1 评论