code: def testScaleDistribution(self):
      action_spec = tensor_spec.BoundedTensorSpec(
          [1], tf.float32, -2, 4
      )
      distribution = tfp.distributions.Normal(0, 4)
      scaled_distribution = utils.scale_distribution_to_spec(
          distribution, action_spec
      )
      if tf.executing_eagerly():
          sample = scaled_distribution.sample
      else:
          sample = scaled_distribution.sample()
  
      for _ in range(1000):
          sample_np = self.evaluate(sample)
  
          self.assertGreater(sample_np, -2.00001)
          self.assertLess(sample_np, 4.00001)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import numpy
  import tensorflow
  import tensorflow_probability
  from tf_agents.distributions import utils
  from tf_agents.specs import tensor_spec
label_desc: Use image node_id 1 for calling the UtilsTest obj's underlying member method code with example usage: obj.testScaleDistribution() without return types