ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more


Computes Winitzki approximation to Lambert W function at z >= -1/exp(1).

The approximation for z >= -1/exp(1) will be used as a starting point in the iterative algorithm to compute W(z). See _lambertw_principal_branch() below. See and in particular (38) in

z value for which W(z) should be computed. Expected z >= -1/exp(1). If not then function will fail due to log(<0).
name optionally pass name for output.

lambertw_winitzki_approx Approximation for W(z) for z >= -1/exp(1).