code: def pmf(k: ArrayLike, p: ArrayLike, loc: ArrayLike = 0) -> Array:
      return jnp.exp(logpmf(k, p, loc))
  
file_path: jax/jax/_src/scipy/stats/bernoulli.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.typing import Array, ArrayLike
  from jax.scipy.special import xlogy, xlog1py
label_desc: Use image node_id 2 for calling a global function with example usage: pmf(k, p, loc) and returns: jnp