code: def elu(x, alpha=1.0):
      ret = ivy.where(x > 0, x, alpha * ivy.expm1(x))
      dtype = _batch_promotion(x, alpha, default_dtype="float64")
      return ivy.asarray(ret, dtype=dtype)
  
imports: import ivy
  from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
  from ivy.func_wrapper import with_supported_dtypes
label_desc: Use image node_id 9 for calling a global function with example usage: elu(x, alpha) and returns: ivy