code: def testHandleBatchOnlyObservation(self):
      observation_spec = tensor_spec.BoundedTensorSpec(
          (8, 8, 3), tf.float32, 0, 1
      )
      time_step_spec = ts.time_step_spec(observation_spec)
      time_step = tensor_spec.sample_spec_nest(
          time_step_spec, outer_dims=(3,)
      )
  
      net = value_rnn_network.ValueRnnNetwork(
          observation_spec,
          conv_layer_params=[(4, 2, 2)],
          input_fc_layer_params=(5,),
          lstm_size=(7, 5),
          output_fc_layer_params=(3,),
      )
  
      value, _ = net(
          time_step.observation,
          step_type=time_step.step_type,
          network_state=net.get_initial_state(batch_size=3),
      )
      self.assertEqual([3], value.shape.as_list())
  
file_path: agents/tf_agents/networks/value_rnn_network_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  from tf_agents.networks import value_rnn_network
  from tf_agents.specs import tensor_spec
  from tf_agents.trajectories import time_step
label_desc: Use image node_id 3 for calling the ValueRnnNetworkTest obj's underlying member method code with example usage: obj.testHandleBatchOnlyObservation() without return types