  from keras.layers.convolutional import Conv2D
  from keras.layers.core import Activation
  from keras.initializers import he_uniform, VarianceScaling
  from .initializers import ICNR, ConvolutionAware
  from .layers import PixelShuffler, SubPixelUpscaling, ReflectionPadding2D, Scale
  from .normalization import GroupNormalization, InstanceNormalization
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
  class NNBlocks():
 
</s> remove from keras.layers import (add, Add, BatchNormalization, concatenate, Lambda, regularizers,
                          Permute, Reshape, SeparableConv2D, Softmax, UpSampling2D)
 </s> add from keras.layers import Add, SeparableConv2D </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 keras.layers import Lambda, concatenate
 </s> add 
from .layers import PixelShuffler, SubPixelUpscaling, ReflectionPadding2D
from .normalization import InstanceNormalization
  from keras.layers.convolutional import Conv2D
  from keras.layers.core import Activation
  from keras.initializers import he_uniform, VarianceScaling
  from .initializers import ICNR, ConvolutionAware
from .layers import PixelShuffler, SubPixelUpscaling, ReflectionPadding2D
from .normalization import InstanceNormalization
from .layers import PixelShuffler, SubPixelUpscaling, ReflectionPadding2D
from .normalization import InstanceNormalization
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
  class NNBlocks():
keep keep keep keep 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/nn_blocks.py