code: def testCreateAgent(self):
      agent = ddpg_agent.DdpgAgent(
          self._time_step_spec,
          self._action_spec,
          actor_network=self._bounded_actor_net,
          critic_network=self._critic_net,
          actor_optimizer=None,
          critic_optimizer=None,
      )
      self.assertIsNotNone(agent.policy)
      self.assertIsNotNone(agent.collect_policy)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  from tf_agents.agents.ddpg import ddpg_agent
  from tf_agents.networks import network
  from tf_agents.specs import tensor_spec
  from tf_agents.trajectories import policy_step
  from tf_agents.trajectories import time_step
  from tf_agents.trajectories import trajectory
  from tf_agents.utils import common
  from tf_agents.utils import test_utils
label_desc: Use image node_id 2 for calling the DdpgAgentTest obj's underlying member method code with example usage: obj.testCreateAgent() without return types