code: def cdf(x: ArrayLike, p: ArrayLike) -> Array:
      x, p = promote_args_inexact("gennorm.cdf", x, p)
      return 0.5 * (
          1 + lax.sign(x) * lax.igamma(1 / p, lax.abs(x) ** p)
      )
  
imports: import scipy.stats
  from jax import lax
  from jax._src.numpy.util import _wraps, promote_args_inexact
  from jax._src.typing import Array, ArrayLike
label_desc: Use image node_id 2 for calling a global function with example usage: cdf(x, p) and returns: unknown