code: def testBuild(self):
      policy = categorical_q_policy.CategoricalQPolicy(
          self._time_step_spec,
          self._action_spec,
          self._q_network,
          self._min_q_value,
          self._max_q_value,
      )
  
      self.assertEqual(policy.time_step_spec, self._time_step_spec)
      self.assertEqual(policy.action_spec, self._action_spec)
  
      # There should be two variables in our network for the fc_layer we specified
      # (one kernel and one bias).
      self.assertLen(policy.variables(), 2)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  from absl import flags
  import numpy
  import tensorflow
  from tf_agents.networks import categorical_q_network
  from tf_agents.networks import network
  from tf_agents.policies import categorical_q_policy
  from tf_agents.policies import policy_saver
  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 2 for calling the CategoricalQPolicyTest obj's underlying member method code with example usage: obj.testBuild() without return types