code: def _make_input_layers(self, rebuild=False):
      for name, layer in self.layer_map.items():
          layer.left_in_edges = len(layer.in_edges)
          if len(layer.in_edges) == 0:
              if rebuild:
                  if not layer.get_attr("scope"):
                      self.input_layers.append(name)
              else:
                  self.input_layers.append(name)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
label_desc: Use image node_id 4 for calling the Graph obj's underlying member method code with example usage: obj._make_input_layers(rebuild) without return types