  from keras.utils.generic_utils import get_custom_objects
  from keras import initializers
  from keras.layers.pooling import _GlobalPooling2D
  
  if K.backend() == "plaidml.keras.backend":
      from lib.plaidml_utils import pad
  else:
      from tensorflow import pad
  
  class PixelShuffler(Layer):
 
</s> remove from keras import initializers
 </s> add  </s> remove 
 </s> add     from tensorflow import pad </s> remove from .normalization import InstanceNormalization
if K.backend() == "plaidml.keras.backend":
 </s> add from lib.utils import get_backend

if get_backend() == "amd": </s> remove from tensorflow.distributions import Beta
 </s> add 
from lib.utils import get_backend

if get_backend() == "amd":
  from keras.utils.generic_utils import get_custom_objects
  from keras import initializers
  from keras.layers.pooling import _GlobalPooling2D
  
from lib.utils import get_backend

if get_backend() == "amd":
      from lib.plaidml_utils import pad
  else:
      from tensorflow import pad
  
  class PixelShuffler(Layer):
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