# tf.math.zeta

Compute the Hurwitz zeta function \\(\\zeta(x, q)\\).

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.math.zeta`](https://www.tensorflow.org/api_docs/python/tf/math/zeta), [`tf.compat.v1.zeta`](https://www.tensorflow.org/api_docs/python/tf/math/zeta)

<br />

    tf.math.zeta(
        x, q, name=None
    )

The Hurwitz zeta function is defined as:

\\(\\zeta(x, q) = \\sum_{n=0}\^{\\infty} (q + n)\^{-x}\\)

<br />

<br />

<br />

| ## Args ||
|---|---|
| `x` | A `Tensor`. Must be one of the following types: `float32`, `float64`. |
| `q` | A `Tensor`. Must have the same type as `x`. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor`. Has the same type as `x`. ||

<br />