class_docstr: Base class for wrapping compare_gan classes as keras layers.
  
  The main task of this class is to provide a keras-like interface, which
  includes a `trainable_variables`. This is non-trivial however, as
  compare_gan uses tf.get_variable. So we try to use the name scope to find
  these variables.
class_docstr_tok: ["Base","class","for","wrapping","compare_gan","classes","as","keras","layers",".","The","main","task","of","this","class","is","to","provide","a","keras-like","interface",",","which","includes","a","`","trainable_variables","`",".","This","is","non-trivial","however",",","as","compare_gan","uses","tf.get_variable",".","So","we","try","to","use","the","name","scope","to","find","these","variables","."]
code: def call(self, x):
      return self._model(x)
  
imports: import collections
  from compare_gan.architectures import abstract_arch
  from compare_gan.architectures import arch_ops
  import numpy
  import tensorflow.compat.v1
  import tensorflow_compression
  from hific.helpers import ModelMode
label_desc: Use image node_id 2 for calling the _CompareGANLayer obj's underlying member method code with example usage: obj.call(x) and returns: self