August 2017
Intermediate to advanced
288 pages
8h 6m
English
x = tf$placeholder(tf$float32, shape=shape(NULL, img_size_flat), name='x')
The NULL value in the placeholder allows us to pass non-deterministic arrays size.
x_image = tf$reshape(x, shape(-1L, img_size, img_size, num_channels))
y_true = tf$placeholder(tf$float32, shape=shape(NULL, num_classes), name='y_true')
y_true_cls = tf$argmax(y_true, dimension=1L)