code: def pattern_table():
      """Create dnnl patterns.
  
      Returns
      -------
      dnnl_patterns : List[dnnl_pattern]
          Created patterns.
      """
      dnnl_patterns = list()
      dnnl_patterns.append(make_qnn_conv2d_pattern())
      dnnl_patterns.append(make_qnn_dense_pattern())
      dnnl_patterns.append(make_dense_bias_sum_pattern())
      dnnl_patterns.append(
          (
              "dnnl.conv2d_bias_sum_relu",
              make_conv_bias_sum_relu_pattern("nn.conv2d"),
              make_sum_pattren_predicate(add_checker),
          )
      )
      dnnl_patterns.append(
          (
              "dnnl.conv2d_bias_sum",
              make_conv_bias_sum_relu_pattern("nn.conv2d", False),
              make_sum_pattren_predicate(add_checker),
          )
      )
  
      elt_list = [
          "nn.relu",
          "tanh",
          "sigmoid",
          "clip",
          "gelu",
          "swish",
          "mish",
          None,
      ]
      for with_bias in [True, False]:
          for elt in elt_list:
              if not with_bias and not elt:
                  continue
              for conv_name in [
                  "nn.conv1d",
                  "nn.conv2d",
                  "nn.conv3d",
                  "nn.conv2d_transpose",
                  "nn.conv3d_transpose",
              ]:
                  dnnl_patterns.append(
                      make_dnnl_pattern(conv_name, with_bias, elt)
                  )
              dnnl_patterns.append(
                  make_dnnl_pattern("nn.dense", with_bias, elt)
              )
      return dnnl_patterns
  
imports: import logging
  from functools import reduce
  import tvm.ir
  from tvm import relay
  from tvm.ir import Op
  from tvm.relay import expr
  from tvm.relay import transform
  from tvm.relay.analysis import analysis
  from tvm.relay.expr import Call, GlobalVar, TupleGetItem, const
  from tvm.relay.expr_functor import ExprMutator, ExprVisitor
  from ...None import _ffi_api
  from ...dataflow_pattern import DFPatternCallback, is_constant, is_expr, is_op, rewrite, wildcard
  from .register import register_pattern_table
label_desc: Use image node_id 16 for calling a global function with example usage: pattern_table() and returns: dnnl_patterns