class_docstr: Layer class modeled after Keras (http://keras.io).
code: def __call__(self, inputs):
      input_shapes = None
      if all(hasattr(x, "shape") for x in nest.flatten(inputs)):
          input_shapes = nest.map_structure(lambda x: x.shape, inputs)
  
      with tf.variable_scope(self._name):
          if not self.built:
              self.build(input_shapes)
          outputs = self.call(inputs)
          return outputs
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  import tensorflow
  from tensorflow.python.util import nest
label_desc: Use image node_id 4 for calling the Layer obj's underlying member method code with example usage: obj.__call__(inputs) and returns: outputs