code: def register_qnn_canonicalize(op_name, legal_op=None, level=10):
      """Register canonicalization function for a QNN op.
  
      This transforms QNN ops to mainline Relay components.
  
      Parameters
      ----------
      op_name : str
          The name of the operator
  
      legal_op: function (Attrs, List[Expr], List[relay.Type]) -> Expr
          The function for transforming an expr to another expr.
  
      level : int
          The priority level
      """
  
      return tvm.ir.register_op_attr(
          op_name, "FTVMQnnCanonicalize", legal_op, level
      )
  
label_desc: Use image node_id 2 for calling a global function with example usage: register_qnn_canonicalize(op_name, legal_op, level) and returns: tvm