[ 组合替代实现 ]torch.Tensor.xlogy_

torch.Tensor.xlogy_

torch.Tensor.xlogy_(other)

Paddle 无此 API,需要组合实现。

转写示例

# PyTorch 写法
a.xlogy_(b)

# Paddle 写法
a.multiply_(paddle.log(paddle.to_tensor(b)))