fixed syntax in conv_only RUN BENCHMARKS

This commit is contained in:
Peter Zhokhov
2018-08-08 16:24:39 -07:00
parent b9cd941471
commit 72f3572a10

View File

@@ -138,7 +138,7 @@ def conv_only(convs=[(32, 8, 4), (64, 4, 2), (64, 3, 1)], **conv_kwargs):
'''
def network_fn(X):
X = tf.cast(X, tf.float32) / 255.
out = tf.cast(X, tf.float32) / 255.
with tf.variable_scope("convnet"):
for num_outputs, kernel_size, stride in convs:
out = layers.convolution2d(out,