# tf.math.divide

<br />

|---|---|
| [![](https://www.tensorflow.org/images/tf_logo_32px.png) TensorFlow 1 version](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/math/divide) | [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.0.0/tensorflow/python/ops/math_ops.py#L315-L325) |

Computes Python style division of `x` by `y`.

#### View aliases


**Main aliases**

[`tf.divide`](https://www.tensorflow.org/api_docs/python/tf/math/divide)
**Compat aliases for migration**

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

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

<br />

    tf.math.divide(
        x, y, name=None
    )