code: def testGetAndMakeFromParameters(self):
      one = tf.constant(1.0)
      d = tfp.distributions.Normal(
          loc=one, scale=3.0, validate_args=True
      )
      d = tfp.bijectors.Tanh()(d)
      d = tfp.bijectors.Tanh()(d)
      p = utils.get_parameters(d)
  
      expected_p = utils.Params(
          tfp.distributions.TransformedDistribution,
          params={
              "bijector": utils.Params(
                  tfp.bijectors.Chain,
                  params={
                      "bijectors": [
                          utils.Params(tfp.bijectors.Tanh, params={}),
                          utils.Params(tfp.bijectors.Tanh, params={}),
                      ]
                  },
              ),
              "distribution": utils.Params(
                  tfp.distributions.Normal,
                  params={
                      "validate_args": True,
                      "scale": 3.0,
                      "loc": one,
                  },
              ),
          },
      )
  
      self.compare_params(p, expected_p)
  
      d_recreated = utils.make_from_parameters(p)
      points = [0.01, 0.25, 0.5, 0.75, 0.99]
      self.assertAllClose(
          d.log_prob(points), d_recreated.log_prob(points)
      )
  
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 5 for calling the UtilsTest obj's underlying member method code with example usage: obj.testGetAndMakeFromParameters() without return types