code: def testSquashToSpecNormalModeMethod(self):
      input_dist = tfp.distributions.Normal(loc=1.0, scale=3.0)
      action_spec = tensor_spec.BoundedTensorSpec(
          [1], tf.float32, -2.0, 4.0
      )
      squash_to_spec_normal = utils.SquashToSpecNormal(
          input_dist, action_spec
      )
      self.assertAlmostEqual(
          self.evaluate(squash_to_spec_normal.mode()),
          3.28478247,
          places=5,
      )
  
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 2 for calling the UtilsTest obj's underlying member method code with example usage: obj.testSquashToSpecNormalModeMethod() without return types