code: def xlogy(
      x: paddle.Tensor,
      y: paddle.Tensor,
      /,
      *,
      out: Optional[paddle.Tensor] = None,
  ) -> paddle.Tensor:
      x, y, ret_dtype = _elementwise_helper(x, y)
      with ivy.ArrayMode(False):
          x_ok = ivy.not_equal(x, 0.0)
          safe_x = ivy.where(x_ok, x, 1.0)
          safe_y = ivy.where(x_ok, y, 1.0)
          return ivy.where(
              x_ok,
              ivy.multiply(safe_x, ivy.log(safe_y)),
              ivy.zeros_like(x),
          ).cast(ret_dtype)
  
imports: import operator
  from typing import Optional, Union, Tuple, List, Sequence
  from numbers import Number
  import paddle
  from ivy.utils.exceptions import IvyNotImplementedException
  from ivy.func_wrapper import with_supported_dtypes, with_unsupported_device_and_dtypes, with_unsupported_dtypes
  import ivy.functional.backends.paddle
  import ivy
  from ivy import promote_types_of_inputs
  from ivy.functional.backends.paddle.elementwise import _elementwise_helper
  from ..None import backend_version
label_desc: Use image node_id 23 for calling a global function with example usage: xlogy() and returns: ivy