  import logging
  import tensorflow as tf
  import keras.backend as K
  
  from keras.layers import (add, Add, BatchNormalization, concatenate, Lambda, regularizers,
                            Permute, Reshape, SeparableConv2D, Softmax, UpSampling2D)
  from keras.layers.advanced_activations import LeakyReLU
  from keras.layers.convolutional import Conv2D
  from keras.layers.core import Activation
  from keras.initializers import he_uniform, VarianceScaling
  from .initializers import ICNR, ConvolutionAware
 
</s> remove import tensorflow as tf
import keras.backend as K
 </s> add  </s> remove from .layers import PixelShuffler, SubPixelUpscaling, ReflectionPadding2D, Scale
from .normalization import GroupNormalization, InstanceNormalization
 </s> add from .layers import PixelShuffler, SubPixelUpscaling, ReflectionPadding2D
from .normalization import InstanceNormalization </s> remove from keras.layers import Lambda, concatenate
 </s> add  </s> remove from tensorflow.distributions import Beta
 </s> add  </s> remove from .normalization import InstanceNormalization
if K.backend() == "plaidml.keras.backend":
 </s> add from lib.utils import get_backend

if get_backend() == "amd":
from keras.layers import Add, SeparableConv2D
  import logging
  import tensorflow as tf
  import keras.backend as K
  
from keras.layers import Add, SeparableConv2D
from keras.layers import Add, SeparableConv2D
  from keras.layers.advanced_activations import LeakyReLU
  from keras.layers.convolutional import Conv2D
  from keras.layers.core import Activation
  from keras.initializers import he_uniform, VarianceScaling
  from .initializers import ICNR, ConvolutionAware
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