cupyx.scipy.special.xlogy#

cupyx.scipy.special.xlogy()#

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

Parameters:

x (cupy.ndarray) – input data

Returns:

values of x * log(y)

Return type:

cupy.ndarray