jax.scipy.special.xlogy

Contents

jax.scipy.special.xlogy#

jax.scipy.special.xlogy(x, y) = <jax._src.custom_derivatives.custom_jvp object>[source]#

Compute x*log(y) so that the result is 0 if x = 0.

LAX-backend implementation of scipy.special.xlogy().

Original docstring below.

Parameters:
  • x (array_like) – Multiplier

  • y (array_like) – Argument

Returns:

z – Computed x*log(y)

Return type:

scalar or ndarray