class_docstr: A floder to fold a graph' nodes which has same scope into one node.
class_docstr_tok: ["A","floder","to","fold","a","graph","'","nodes","which","has","same","scope","into","one","node","."]
code: def _create_scope_node(self, scope_name, scope_node_names, top_node):
      # 1. initilize scope node
      scope_node = self._initialize_scope_node(top_node)
  
      # 2. get scope nodes' topology list.
      scope_node.topology_list = self._get_scope_nodes_topology_list(
          scope_node_names
      )
      scope_node.pattern = scope_name
  
      # 3. rebuild the edges connection after folding these scope nodes into one node and
      # get this scope node's return variables.
      scope_node.return_variables = (
          self._rebuild_scope_edges_and_get_ret_vars(scope_node)
      )
  
      # 4. rebuild graph.
      self._graph.layer_map[scope_node.name] = scope_node
      self._graph.layer_name_map[scope_node.name] = scope_node.name
      self._graph.rebuild()
  
file_path: MMdnn/mmdnn/conversion/rewriter/folder.py
imports: from mmdnn.conversion.common.IR.IR_graph import *
  import sys
  import re
  import numpy
  import collections
label_desc: Use image node_id 9 for calling the Folder obj's underlying member method code with example usage: obj._create_scope_node(scope_name, scope_node_names, top_node) without return types