class_docstr: Sonnet module clipping inputs to within a BoundedArraySpec.
class_docstr_tok: ["Sonnet","module","clipping","inputs","to","within","a","BoundedArraySpec","."]
code: def __call__(self, inputs: tf.Tensor) -> tf.Tensor:
      return tf.clip_by_value(inputs, self._min, self._max)
  
file_path: acme/acme/tf/networks/rescaling.py
imports: from typing import Union
  from acme import specs
  import sonnet
  import tensorflow
  import tensorflow_probability
label_desc: Use image node_id 2 for calling the ClipToSpec obj's underlying member method code with example usage: obj.__call__(inputs) and returns: tf