code: def testBuild(self):
      output_spec = tensor_spec.BoundedTensorSpec(
          [2, 3], tf.int32, 0, 1
      )
      network = (
          categorical_projection_network.CategoricalProjectionNetwork(
              output_spec
          )
      )
  
      inputs = _get_inputs(batch_size=3, num_input_dims=5)
  
      distribution, _ = network(inputs, outer_rank=1)
      self.evaluate(tf.compat.v1.global_variables_initializer())
      sample = self.evaluate(distribution.sample())
  
      self.assertEqual(
          tfp.distributions.Categorical, type(distribution)
      )
      # Batch = 3; 2x3 action choices, 2x actions per choise.
      self.assertEqual((3, 2, 3, 2), distribution.logits.shape)
      self.assertAllEqual((3, 2, 3), sample.shape)
  
file_path: agents/tf_agents/networks/categorical_projection_network_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  import tensorflow_probability
  from tf_agents.networks import categorical_projection_network
  from tf_agents.specs import tensor_spec
label_desc: Use image node_id 1 for calling the CategoricalProjectionNetworkTest obj's underlying member method code with example usage: obj.testBuild() without return types