code: def testCreateAgent(self):
      agent = (
          dropout_thompson_sampling_agent.DropoutThompsonSamplingAgent(
              self._time_step_spec,
              self._action_spec,
              optimizer=None,
              dropout_rate=0.1,
              network_layers=(20, 20, 20),
          )
      )
      self.assertIsNotNone(agent.policy)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  import tensorflow
  from tf_agents.bandits.agents import dropout_thompson_sampling_agent
  from tf_agents.bandits.drivers import driver_utils
  from tf_agents.policies import utils
  from tf_agents.specs import tensor_spec
  from tf_agents.trajectories import policy_step
  from tf_agents.trajectories import time_step
label_desc: Use image node_id 2 for calling the AgentTest obj's underlying member method code with example usage: obj.testCreateAgent() without return types