                               str(4) +
                               '; Received input shape:', str(input_shape))
  
          if self.data_format == 'channels_first':
              batch_size, c, h, w = input_shape
              if batch_size is None:
                  batch_size = -1
              rh, rw = self.size
              oh, ow = h * rh, w * rw
              oc = c // (rh * rw)
 
</s> remove             rh, rw = self.size
            oh, ow = h * rh, w * rw
            oc = c // (rh * rw)
 </s> add             r_height, r_width = self.size
            o_height, o_width = height * r_height, width * r_width
            o_channels = channels // (r_height * r_width) </s> remove             batch_size, h, w, c = input_shape
 </s> add             batch_size, height, width, channels = input_shape </s> remove             rh, rw = self.size
            oh, ow = h * rh, w * rw
            oc = c // (rh * rw)
 </s> add             r_height, r_width = self.size
            o_height, o_width = height * r_height, width * r_width
            o_channels = channels // (r_height * r_width) </s> remove             out = K.reshape(inputs, (batch_size, rh, rw, oc, h, w))
 </s> add             out = K.reshape(inputs, (batch_size, r_height, r_width, o_channels, height, width)) </s> remove             out = K.reshape(out, (batch_size, oc, oh, ow))
 </s> add             out = K.reshape(out, (batch_size, o_channels, o_height, o_width))
            batch_size, channels, height, width = input_shape
                               str(4) +
                               '; Received input shape:', str(input_shape))
  
          if self.data_format == 'channels_first':
            batch_size, channels, height, width = input_shape
              if batch_size is None:
                  batch_size = -1
              rh, rw = self.size
              oh, ow = h * rh, w * rw
              oc = c // (rh * rw)
keep keep keep keep 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