code: def create_scope(
      self, result, pattern, scope_names_dict, parent_scope_name=""
  ):
      op = result._pattern_to_op[pattern]
  
      if pattern.name:
          # Do not include input op.
          if "input" in pattern.name.split("/")[-1]:
              return
          else:
              no = scope_names_dict.get(pattern.name, 0)
              scope_names_dict[pattern.name] = no + 1
              if parent_scope_name:
                  current_scope_name = (
                      "/".join([parent_scope_name, pattern.name])
                      + "_"
                      + str(no)
                  )
              else:
                  current_scope_name = pattern.name + "_" + str(no)
      else:
          current_scope_name = parent_scope_name
      op.scope = current_scope_name
      for sub_pattern in pattern.inputs:
          self.create_scope(
              result, sub_pattern, scope_names_dict, current_scope_name
          )
  
imports: from __future__ import division
  from __future__ import print_function
  import numpy
  import tensorflow
  from tensorflow.python.framework import tensor_util
  from tensorflow.core.framework import attr_value_pb2
  import sys
  from mmdnn.conversion.tensorflow.tensorflow_graph import *
  import mmdnn.conversion.common.IR.graph_pb2
  from mmdnn.conversion.rewriter.graph_matcher import *
  from mmdnn.conversion.common.DataStructure import *
  from tensorflow.core.framework.node_def_pb2 import NodeDef
  from mmdnn.conversion.rewriter.rnn_utils import *
label_desc: Use image node_id 6 for calling the UnitRewriterBase obj's underlying member method code with example usage: obj.create_scope(result, pattern, scope_names_dict, parent_scope_name) without return types