class_docstr: Matches patterns to apply transforms in a tf.keras model graph.
docstr: Return all the inbound connection layer names for the layer.
code: def _get_inbound_layer_names(self, layer):
      """Return all the inbound connection layer names for the layer."""
      inbound_layer_names = []
      for inbound_node in self._inbound_node_generator(layer):
          # TODO(b/197935452): temporary fix when the input is a dictionary of
          # tensors. A comprehensive solution may be needed.
          if isinstance(inbound_node, dict):
              inbound_node = inbound_node.values()
          for connection_info in inbound_node:
              # input argument case.
              inbound_layer_names.append(connection_info[0])
              # **kwarg argument case.
              inbound_layer_names += [
                  value[0]
                  for value in connection_info[3].values()
                  if isinstance(value, list)
              ]
  
      return inbound_layer_names
  
imports: import collections
  import copy
  import re
  import tensorflow
  from tensorflow_model_optimization.python.core.quantization.keras.graph_transformations import transforms
label_desc: Use image node_id 5 for calling the ModelTransformer obj's underlying member method code with example usage: obj._get_inbound_layer_names(layer) and returns: inbound_layer_names