Exemplo n.º 1
0
 def conv2(self, x, channels_shape, name):
   return cnn.conv(x, [3, 3], channels_shape, 2, name)
Exemplo n.º 2
0
 def resize_conv(self, x, channels_shape, name):
   shape = x.get_shape().as_list()
   height = shape[1] * 2
   width = shape[2] * 2
   resized = tf.image.resize_nearest_neighbor(x, [height, width])
   return cnn.conv(resized, [3, 3], channels_shape, 1, name, repad=True)
Exemplo n.º 3
0
def conv(x, channels_shape, name):
    return cnn.conv(x, [3, 3], channels_shape, 1, name)