def _get_encoder3(self, initial_channel_size=3):
    'Defines the encoding model with a pre-defined filter/kernel sizes.'
    pixel_layers = []
    filter_groups = [[initial_channel_size, initial_channel_size, 4], [4, 4, 16], [16, 16, 32], [32, 32, 64], [64, 64, 128], [128, 128, 256]]
    kernel_size_groups = [[5, 3, 5], [5, 3, 3], [3, 3, 3], [3, 3, 3], [3, 3, 3], [3, 3, 3]]
    for (index, (filters, kernel_sizes)) in enumerate(zip(filter_groups, kernel_size_groups)):
        assert (len(filters) == len(kernel_sizes))
        name = 'pixel_encoder_{}'.format(index)
        layer = PixelEncoderLayer(name, filters, kernel_sizes)
        pixel_layers.append(layer)
    return pixel_layers
Defines the encoding model with a pre-defined filter/kernel sizes.
def _get_encoder3(self, initial_channel_size=3):
    
    pixel_layers = []
    filter_groups = [[initial_channel_size, initial_channel_size, 4], [4, 4, 16], [16, 16, 32], [32, 32, 64], [64, 64, 128], [128, 128, 256]]
    kernel_size_groups = [[5, 3, 5], [5, 3, 3], [3, 3, 3], [3, 3, 3], [3, 3, 3], [3, 3, 3]]
    for (index, (filters, kernel_sizes)) in enumerate(zip(filter_groups, kernel_size_groups)):
        assert (len(filters) == len(kernel_sizes))
        name = 'pixel_encoder_{}'.format(index)
        layer = PixelEncoderLayer(name, filters, kernel_sizes)
        pixel_layers.append(layer)
    return pixel_layers