class_docstr: Creates an actor network.
code: def call(
      self, observations, step_type=(), network_state=(), training=False
  ):
      del step_type  # unused.
      observations = tf.nest.flatten(observations)
      output = tf.cast(observations[0], tf.float32)
      for layer in self._mlp_layers:
          output = layer(output, training=training)
  
      actions = common.scale_to_spec(output, self._single_action_spec)
      output_actions = tf.nest.pack_sequence_as(
          self._output_tensor_spec, [actions]
      )
  
      return output_actions, network_state
  
file_path: agents/tf_agents/agents/ddpg/actor_network.py
imports: import gin
  import tensorflow
  from tf_agents.networks import network
  from tf_agents.networks import utils
  from tf_agents.specs import tensor_spec
  from tf_agents.utils import common
label_desc: Use image node_id 2 for calling the ActorNetwork obj's underlying member method code with example usage: obj.call(observations, step_type, network_state, training) and returns: output_actions,  network_state