Stay organized with collections Save and categorize content based on your preferences.

Inverse of soft_round.

This is described in Sec. 4.1. in the paper

"Universally Quantized Neural Compression"
Eirikur Agustsson & Lucas Theis

y tf.Tensor. Inputs to this function.
alpha Float or tf.Tensor. Controls smoothness of the approximation.
eps Float. Threshold below which soft_round is assumed to equal the identity function.