code: def conv2d_partition_function(ref_call, new_args, ctx):
      """Rewrite function for conv2d for partition"""
      data_cond, data = partition_expr_check(new_args[0])
      kernel_cond, kernel = partition_expr_check(new_args[1])
  
      assert not kernel_cond
      if data_cond:
          data = new_args[0].realize()
      ret = _forward_op(ref_call, [data, kernel])
      return QPartitionExpr(ret)
  
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 3 for calling a global function with example usage: conv2d_partition_function(ref_call, new_args, ctx) and returns: QPartitionExpr