code: def check_conv2d_residual(call, binary_op):
      """Check if the given conv2d workload can be offloaded to CUTLASS."""
      conv2d = get_root_call(call, "nn.conv2d")
      if not check_conv2d(call):
          return False
  
      residual_binop = get_root_call(call, binary_op)
      lhs = residual_binop.args[0]
      rhs = residual_binop.args[1]
  
      # residual_input is pattern-matched as a wildcard. Make sure it does not sit between
      # residual binary op and the root conv2d of this pattern.
      # If the root conv2d is the parent of both lhs and rhs, we should reject this pattern.
      if (
          get_root_call(lhs, "nn.conv2d") == conv2d
          and get_root_call(rhs, "nn.conv2d") == conv2d
      ):
          return False
  
      return all(
          x == y
          for (x, y) in zip(
              lhs.checked_type.shape, rhs.checked_type.shape
          )
      )
  
imports: from functools import partial
  from tvm import relay
  from tvm.ir.transform import PassContext, Sequential
  from tvm.relay import transform
  from tvm.relay.build_module import bind_params_by_name
  from tvm.relay.op.contrib.register import register_pattern_table
  from ...dataflow_pattern import is_constant, is_op, wildcard
label_desc: Use image node_id 17 for calling a global function with example usage: check_conv2d_residual(call, binary_op) and returns: all, False, False