code: def testNonLegacyDistribution(self):
      if not tf.executing_eagerly():
          self.skipTest(
              "Skipping test: sequential networks not supported in TF1"
          )
  
      actor_network = create_sequential_actor_net()
      action_spec = {"my_action": self._action_spec}
      value_network = DummyValueNet()
  
      policy = ppo_policy.PPOPolicy(
          self._time_step_spec,
          action_spec,
          actor_network=actor_network,
          value_network=value_network,
      )
  
      distribution_step = policy.distribution(self._time_step)
      self.assertIsInstance(
          distribution_step.action["my_action"],
          tfp.distributions.TransformedDistribution,
      )
  
      expected_info_spec = {
          "dist_params": {
              "my_action": {
                  "bijector": {
                      "bijectors:0": {},
                      "bijectors:1": {},
                      "bijectors:2": {},
                  },
                  "distribution": {
                      "scale": tf.TensorSpec([1], tf.float32),
                      "loc": tf.TensorSpec([1], tf.float32),
                  },
              }
          },
          "value_prediction": tf.TensorSpec([1, 1], tf.float32),
      }
  
      tf.nest.map_structure(
          lambda v, s: self.assertEqual(tf.type_spec_from_value(v), s),
          distribution_step.info,
          expected_info_spec,
      )
  
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.agents.ppo import ppo_policy
  from tf_agents.networks import actor_distribution_network
  from tf_agents.networks import mask_splitter_network
  from tf_agents.networks import network
  from tf_agents.networks import sequential
  from tf_agents.networks import value_network
  from tf_agents.specs import distribution_spec
  from tf_agents.specs import tensor_spec
  from tf_agents.trajectories import time_step
  from tf_agents.utils import test_utils
label_desc: Use image node_id 15 for calling the PPOPolicyTest obj's underlying member method code with example usage: obj.testNonLegacyDistribution() without return types