class_docstr: A generic actor implemented on top of ActorCore.
  
  An actor based on a policy which takes observations and outputs actions. It
  also adds experiences to replay and updates the actor weights from the policy
  on the learner.
class_docstr_tok: ["A","generic","actor","implemented","on","top","of","ActorCore",".","An","actor","based","on","a","policy","which","takes","observations","and","outputs","actions",".","It","also","adds","experiences","to","replay","and","updates","the","actor","weights","from","the","policy","on","the","learner","."]
code: def observe(
      self, action: network_lib.Action, next_timestep: dm_env.TimeStep
  ):
      if self._adder:
          self._adder.add(
              action,
              next_timestep,
              extras=self._get_extras(self._state),
          )
  
file_path: acme/acme/agents/jax/actors.py
imports: from typing import Generic, Optional
  from acme import adders
  from acme import core
  from acme import types
  from acme.agents.jax import actor_core
  from acme.jax import networks
  from acme.jax import utils
  from acme.jax import variable_utils
  import dm_env
  import jax
label_desc: Use image node_id 5 for calling the GenericActor obj's underlying member method code with example usage: obj.observe(action, next_timestep) without return types