code: def numba_funcify_Bartlett(op, **kwargs):
      @numba_basic.numba_njit(inline="always")
      def bartlett(x):
          return np.bartlett(numba_basic.to_scalar(x))
  
      return bartlett
  
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 1 for calling a global function with example usage: numba_funcify_Bartlett(op) and returns: bartlett, np