Computes arctangent of tf.Tensors a / b element-wise: atan2(a, b). Supports broadcasting.
tf.Tensor
atan2(a, b)
const a = tf.tensor1d([1.0, 1.0, -1.0, .7]);const b = tf.tensor1d([2.0, 13.0, 3.5, .21]);tf.atan2(a, b).print() Copy
const a = tf.tensor1d([1.0, 1.0, -1.0, .7]);const b = tf.tensor1d([2.0, 13.0, 3.5, .21]);tf.atan2(a, b).print()
The first tensor.
The second tensor. Must have the same dtype as a.
a
Generated using TypeDoc
Computes arctangent of
tf.Tensor
s a / b element-wise:atan2(a, b)
. Supports broadcasting.