code: def RegisterPattern(pattern_name, pattern, hint_op_type):
      """ """
      assert isinstance(
          pattern, DeltaGraph
      ), "type of pattern must be instance of DeltaGraph. but got {}".format(
          type(pattern)
      )
      ep.optimizer.RegisterFusionPattern(
          pattern_name, pattern.pattern(), hint_op_type
      )
  
file_path: delta/gcompiler/python/delta_infer/cpp/__init__.py
imports: from __future__ import absolute_import, division, print_function
  import export_py
  import tensorflow
label_desc: Use image node_id 1 for calling a global function with example usage: RegisterPattern(pattern_name, pattern, hint_op_type) without return types