code: def matmul(lhs, rhs, transa=False, transb=False, **kwargs):
      """Create an extern op that compute matrix mult of A and rhs with CrhsLAS
      This function serves as an example on how to call external libraries.
  
      Parameters
      ----------
      lhs: Tensor
          The left matrix operand
      rhs: Tensor
          The right matrix operand
      transa: bool
          Whether transpose lhs
      transb: bool
          Whether transpose rhs
  
      Returns
      -------
      C: Tensor
          The result tensor.
      """
      n = lhs.shape[1] if transa else lhs.shape[0]
      m = rhs.shape[0] if transb else rhs.shape[1]
      return te.extern(
          (n, m),
          [lhs, rhs],
          lambda ins, outs: tvm.tir.call_packed(
              "tvm.contrib.dnnl.matmul",
              ins[0],
              ins[1],
              outs[0],
              transa,
              transb,
          ),
          name="C",
          **kwargs,
      )
  
imports: import tvm
  from tvm import te
  from ..topi.nn.utils import get_pad_tuple
label_desc: Use image node_id 1 for calling a global function with example usage: matmul(lhs, rhs, transa, transb) and returns: te