code: def dimension_picker(prefix, surfix=""):
      def _impl(attr):
          kernel = attr["kernel_shape"]
          if len(kernel) == 2:
              return prefix + "2d" + surfix
          raise tvm.error.OpAttributeUnImplemented(
              f"Non-2D kernels are not supported for operator {prefix}2d"
          )
  
      return _impl
  
imports: import tvm
  from tvm.ir import IRModule
  from ..None import analysis
  from ..None import expr
  from ..None import function
  from ..None import op
  from ...None import nd
  from .common import AttrCvt, Renamer
  from .common import get_relay_op, new_var, infer_channels
label_desc: Use image node_id 1 for calling a global function with example usage: dimension_picker(prefix, surfix) and returns: _impl, unknown