# tfc.ops.round_st

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/compression/blob/v2.14.1/tensorflow_compression/python/ops/round_ops.py#L38-L43) |

Straight-through round with optional quantization offset.

#### View aliases


**Main aliases**

[`tfc.round_st`](https://www.tensorflow.org/api_docs/python/tfc/ops/round_st)

<br />

    tfc.ops.round_st(
        inputs, offset=None
    )