code: def xlogy(
      x: torch.tensor,
      y: torch.tensor,
      /,
      *,
      out: Optional[torch.tensor] = None,
  ) -> torch.tensor:
      x, y = promote_types_of_inputs(x, y)
      return torch.xlogy(x, y, out=out)
  
imports: from typing import Optional, Union, Tuple, List, Sequence
  from numbers import Number
  import torch
  import ivy
  from ivy import promote_types_of_inputs
  from ivy.functional.backends.torch.elementwise import _cast_for_unary_op
  from ivy.func_wrapper import with_unsupported_dtypes, with_supported_dtypes
  from ..None import backend_version
label_desc: Use image node_id 19 for calling a global function with example usage: xlogy() and returns: torch