mars.tensor.special.xlogy#

mars.tensor.special.xlogy(x1, x2, out=None, where=None, **kwargs)[source]#

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

Parameters
  • x (array_like) – Multiplier

  • y (array_like) – Argument

Returns

z – Computed x*log(y)

Return type

array_like