Advertisement
Guest User

Untitled

a guest
Oct 17th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1.  
  2. img_size = 20*20*3
  3. x = tf.placeholder(tf.float64, [None, img_size])
  4. W = tf.Variable(tf.zeros([img_size, 3]))
  5. b = tf.Variable(tf.zeros([3]))
  6. y = tf.nn.softmax(tf.matmul(x, W) + b)
  7. y_ = tf.placeholder(tf.float64, [None, 3])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement