        - If `data_format` is `"channels_first"`:
            `(batch, channels, padded_rows, padded_cols)`
      """
      def __init__(self, stride=2, kernel_size=5, **kwargs):
          '''
          # Arguments
              stride: stride of following convolution (2)
              kernel_size: kernel size of following convolution (5,5)
          '''
          self.stride = stride
          self.kernel_size = kernel_size
          super(ReflectionPadding2D, self).__init__(**kwargs)
  
      def build(self, input_shape):
 
</s> remove         super(ReflectionPadding2D, self).__init__(**kwargs)
 </s> add         super().__init__(**kwargs) </s> remove     This layer can add rows and columns
    at the top, bottom, left and right side of an image tensor.
    Input shape:  ONLY WORKS ON CHANNELS LAST NOW
      4D tensor with shape:
      - If `data_format` is `"channels_last"`:
          `(batch, rows, cols, channels)`
      - If `data_format` is `"channels_first"`:
          `(batch, channels, rows, cols)`
    Output shape:
      4D tensor with shape:
      - If `data_format` is `"channels_last"`:
          `(batch, padded_rows, padded_cols, channels)`
      - If `data_format` is `"channels_first"`:
          `(batch, channels, padded_rows, padded_cols)`
 </s> add     This layer can add rows and columns at the top, bottom, left and right side of an image tensor.

    Parameters
    ----------
    stride: int, optional
        The stride of the following convolution. Default: `2`
    kernel_size: int, optional
        The kernel size of the following convolution. Default: `5`
    kwargs: dict
        The standard Keras Layer keyword arguments (if any) </s> remove         super(ReflectionPadding2D, self).build(input_shape)
 </s> add         super().build(input_shape) </s> remove class Scale(Layer):
    """
    GAN Custom Scal Layer
    Code borrows from https://github.com/flyyufelix/cnn_finetune
    """
    def __init__(self, weights=None, axis=-1, gamma_init='zero', **kwargs):
        self.axis = axis
        self.gamma = None
        self.gamma_init = initializers.get(gamma_init)
        self.initial_weights = weights
        super(Scale, self).__init__(**kwargs)

    def build(self, input_shape):
        self.input_spec = [InputSpec(shape=input_shape)]
 </s> add         The configuration of a layer does not include connectivity information, nor the layer
        class name. These are handled by `Network` (one layer of abstraction above).
        - If `data_format` is `"channels_first"`:
            `(batch, channels, padded_rows, padded_cols)`
      """
      def __init__(self, stride=2, kernel_size=5, **kwargs):





          self.stride = stride
          self.kernel_size = kernel_size
          super(ReflectionPadding2D, self).__init__(**kwargs)
  
      def build(self, input_shape):
keep keep keep keep replace replace replace replace replace keep keep keep keep keep
 Simple backend unit tests (#1020)

* Add simple backend tests for lib.model
* Document lib.model
* Fix GMSD Loss for AMD
* Remove obsolete code from lib.model 
lib/model/layers.py