<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.21.0/tensorflow/python/ops/math_ops.py#L470-L502) |

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

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

#### For example:

    x = tf.constant([16, 12, 11])
    y = tf.constant([4, 6, 2])
    tf.divide(x,y)
    <tf.Tensor: shape=(3,), dtype=float64,
    numpy=array([4. , 2. , 5.5])>

<br />

<br />

<br />

| ## Args ||
|---|---|
| `x` | A `Tensor` |
| `y` | A `Tensor` |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor` with same shape as input ||

<br />