code: def pmf(
      k: ArrayLike,
      n: ArrayLike,
      a: ArrayLike,
      b: ArrayLike,
      loc: ArrayLike = 0,
  ) -> Array:
      """JAX implementation of scipy.stats.betabinom.pmf."""
      return lax.exp(logpmf(k, n, a, b, loc))
  
file_path: jax/jax/_src/scipy/stats/betabinom.py
imports: import scipy.stats
  from jax import lax
  import jax.numpy
  from jax._src.lax.lax import _const
  from jax._src.numpy.util import _wraps, promote_args_inexact
  from jax._src.scipy.special import betaln
  from jax._src.typing import Array, ArrayLike
label_desc: Use image node_id 2 for calling a global function with example usage: pmf(k, n, a, b, loc) and returns: lax