# tf.math.xlog1py

Compute x * log1p(y).

Given `x` and `y`, compute `x * log1p(y)`. This function safely returns zero when `x = 0`, no matter what the value of `y` is.

#### Example:

````tf.math.xlog1py(0., 1.)`
`<tf.Tensor: shape=(), dtype=float32, numpy=0.>`
`tf.math.xlog1py(1., 1.)`
`<tf.Tensor: shape=(), dtype=float32, numpy=0.6931472>`
`tf.math.xlog1py(2., 2.)`
`<tf.Tensor: shape=(), dtype=float32, numpy=2.1972246>`
`tf.math.xlog1py(0., -1.)`
`<tf.Tensor: shape=(), dtype=float32, numpy=0.>`
```

`x` A `tf.Tensor` of type `bfloat16`, `half`, `float32`, `float64`, `complex64`, `complex128`
`y` A `tf.Tensor` of type `bfloat16`, `half`, `float32`, `float64`, `complex64`, `complex128`
`name` A name for the operation (optional).

`x * log1p(y)`.

## scipy compatibility

Equivalent to scipy.special.xlog1py

[{ "type": "thumb-down", "id": "missingTheInformationINeed", "label":"必要な情報がない" },{ "type": "thumb-down", "id": "tooComplicatedTooManySteps", "label":"複雑すぎる / 手順が多すぎる" },{ "type": "thumb-down", "id": "outOfDate", "label":"最新ではない" },{ "type": "thumb-down", "id": "samplesCodeIssue", "label":"Samples / code issue" },{ "type": "thumb-down", "id": "otherDown", "label":"その他" }]
[{ "type": "thumb-up", "id": "easyToUnderstand", "label":"わかりやすい" },{ "type": "thumb-up", "id": "solvedMyProblem", "label":"問題の解決に役立った" },{ "type": "thumb-up", "id": "otherUp", "label":"その他" }]