code: def clear_out_scope_node(self):
      def _clear_list_out_scope(list_):
          for idx in range(len(list_) - 1, -1, -1):
              node = self.get_node(list_[idx])
              if node.type != "Scope" and node.get_attr("scope"):
                  del list_[idx]
  
      _clear_list_out_scope(self.input_layers)
      _clear_list_out_scope(self.topological_sort)
      _clear_list_out_scope(self.output_layers)
  
imports: import mmdnn.conversion.common.IR.graph_pb2
  from mmdnn.conversion.common.utils import *
  from mmdnn.conversion.common.IR.graph_pb2 import TensorShape, AttrValue
  from mmdnn.conversion.common.DataStructure.graph import Graph, GraphNode
label_desc: Use image node_id 6 for calling the IRGraph obj's underlying member method code with example usage: obj.clear_out_scope_node() without return types