DigitMagazine

Placeholders and Input in Tensorflow

Jul 25th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. x = tf.placeholder(tf.float32, shape=[None, img_size,img_size,num_channels], name='x')
  2.  
  3. y_true = tf.placeholder(tf.float32, shape=[None, num_classes], name='y_true')
  4. y_true_cls = tf.argmax(y_true, dimension=1)
Add Comment
Please, Sign In to add comment