# tf.raw_ops.QuantizeAndDequantizeV3

<br />

Quantizes then dequantizes a tensor.

#### View aliases


**Compat aliases for migration**

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

[`tf.compat.v1.raw_ops.QuantizeAndDequantizeV3`](https://www.tensorflow.org/api_docs/python/tf/raw_ops/QuantizeAndDequantizeV3)

<br />

    tf.raw_ops.QuantizeAndDequantizeV3(
        input,
        input_min,
        input_max,
        num_bits,
        signed_input=True,
        range_given=True,
        narrow_range=False,
        axis=-1,
        name=None
    )

This is almost identical to QuantizeAndDequantizeV2, except that num_bits is a
tensor, so its value can change during training.

<br />

<br />

<br />

| ## Args ||
|---|---|
| `input` | A `Tensor`. Must be one of the following types: `bfloat16`, `half`, `float32`, `float64`. |
| `input_min` | A `Tensor`. Must have the same type as `input`. |
| `input_max` | A `Tensor`. Must have the same type as `input`. |
| `num_bits` | A `Tensor` of type `int32`. |
| `signed_input` | An optional `bool`. Defaults to `True`. |
| `range_given` | An optional `bool`. Defaults to `True`. |
| `narrow_range` | An optional `bool`. Defaults to `False`. |
| `axis` | An optional `int`. Defaults to `-1`. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

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

<br />