code: def check_conv2d_common(op_name, expected_kernel_layout, call):
      """Check if the given conv2d workload can be offloaded to CUTLASS."""
      conv2d = get_root_call(call, op_name)
      data_layout = conv2d.attrs.data_layout
      kernel_layout = conv2d.attrs.kernel_layout
      data = conv2d.args[0].checked_type
      weight = conv2d.args[1].checked_type
      if (
          data_layout != "NHWC"
          or kernel_layout != expected_kernel_layout
          or not check_dtype(data, weight)
      ):
          return False
      IC = data.shape[3]
      OC = weight.shape[0]
      return not is_depthwise_conv2d(IC, OC, conv2d.attrs.groups)
  
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 13 for calling a global function with example usage: check_conv2d_common(op_name, expected_kernel_layout, call) and returns: unknown, False