code: def test_soft_round_layer_soft_rounds(self):
      alpha = 5.0
      layer = soft_round.SoftRound(alpha=alpha)
      x = tf.linspace(-5.0, 5.0, num=50)
      y = layer(x)
      self.assertAllClose(y, round_ops.soft_round(x, alpha=alpha))
  
file_path: compression/tensorflow_compression/python/layers/soft_round_test.py
imports: import tensorflow
  from tensorflow_compression.python.layers import soft_round
  from tensorflow_compression.python.ops import round_ops
label_desc: Use image node_id 1 for calling the SoftRoundTest obj's underlying member method code with example usage: obj.test_soft_round_layer_soft_rounds() without return types