code: def numba_funcify_Repeat(op, node, **kwargs):
      axis = op.axis
  
      use_python = False
  
      if axis is not None:
          use_python = True
  
      if use_python:
          warnings.warn(
              (
                  "Numba will use object mode to allow the "
                  "`axis` argument to `numpy.repeat`."
              ),
              UserWarning,
          )
  
          ret_sig = get_numba_type(node.outputs[0].type)
  
          @numba_basic.numba_njit
          def repeatop(x, repeats):
              with numba.objmode(ret=ret_sig):
                  ret = np.repeat(x, repeats, axis)
              return ret
  
      else:
          repeats_ndim = node.inputs[1].ndim
  
          if repeats_ndim == 0:
  
              @numba_basic.numba_njit(inline="always")
              def repeatop(x, repeats):
                  return np.repeat(x, repeats.item())
  
          else:
  
              @numba_basic.numba_njit(inline="always")
              def repeatop(x, repeats):
                  return np.repeat(x, repeats)
  
      return repeatop
  
imports: import warnings
  from typing import cast
  import numba
  import numpy
  from pytensor import config
  from pytensor.graph import Apply
  from pytensor.link.numba.dispatch import basic
  from pytensor.link.numba.dispatch.basic import get_numba_type, numba_funcify
  from pytensor.raise_op import CheckAndRaise
  from pytensor.tensor import TensorVariable
  from pytensor.tensor.extra_ops import Bartlett, CumOp, FillDiagonal, FillDiagonalOffset, RavelMultiIndex, Repeat, SearchsortedOp, Unique, UnravelIndex
label_desc: Use image node_id 6 for calling a global function with example usage: numba_funcify_Repeat(op, node) and returns: repeatop, ret, np, np