Google I/O is a wrap! Catch up on TensorFlow sessions

# tfp.math.atan_difference

Difference of arctan(x) and arctan(y).

Computes arctan(x) - arctan(y) avoiding catastrophic cancellation. This is by resorting to the identity:

``````arctan(x) - arctan(y) = arctan((x - y) / (1 + x * y)) +
pi * sign(x) * 1_{x * y < -1)
``````

where `1_A` is the indicator function on the set `A`.

For a derivation of this fact, see .

 De Stefano, Sum of Arctangents https://sites.google.com/site/micdestefano/mathematics/trigonometry/sum-of-arctangents

`x` Floating-point Tensor. Should be broadcastable with `y`.
`y` Floating-point Tensor. Should be broadcastable with `x`.
`name` Optional Python `str` naming the operation.

`z` Tensor of same shape and dtype as `x` and `y`.

[{ "type": "thumb-down", "id": "missingTheInformationINeed", "label":"Missing the information I need" },{ "type": "thumb-down", "id": "tooComplicatedTooManySteps", "label":"Too complicated / too many steps" },{ "type": "thumb-down", "id": "outOfDate", "label":"Out of date" },{ "type": "thumb-down", "id": "samplesCodeIssue", "label":"Samples / code issue" },{ "type": "thumb-down", "id": "otherDown", "label":"Other" }]
[{ "type": "thumb-up", "id": "easyToUnderstand", "label":"Easy to understand" },{ "type": "thumb-up", "id": "solvedMyProblem", "label":"Solved my problem" },{ "type": "thumb-up", "id": "otherUp", "label":"Other" }]