November 2017
Intermediate to advanced
274 pages
6h 16m
English
Create a placeholder with shape[None, img_size_flat] and reshape it into [-1, img_size, img_size, num_channels]:
x = tf.placeholder(tf.float32, shape=[None, img_size_flat], name='x') x_image = tf.reshape(x, [-1, img_size, img_size, num_channels])
Here, the parameters img_size and num_channels have the following values:
Read now
Unlock full access