code: def register_partition_function(op_name, frewrite=None, level=10):
      return tvm.ir.register_op_attr(
          op_name, "FQPartitionRewrite", frewrite, level
      )
  
file_path: tvm/python/tvm/relay/quantize/_partition.py
imports: import tvm
  from ..None import expr
  from ..None import analysis
  from .None import _quantize
  from .quantize import _forward_op
label_desc: Use image node_id 1 for calling a global function with example usage: register_partition_function(op_name, frewrite, level) and returns: tvm