class_docstr: Adder wrapper substituting PWIL rewards.
code: def add(
      self,
      action: types.NestedArray,
      next_timestep: dm_env.TimeStep,
      extras: types.NestedArray = (),
  ):
      updated_timestep = next_timestep._replace(
          reward=self._rewarder.append_and_compute_reward(
              observation=self._latest_observation, action=action
          )
      )
      self._latest_observation = next_timestep.observation
      self._adder.add(action, updated_timestep, extras)
  
file_path: acme/acme/agents/jax/pwil/adder.py
imports: from acme import adders
  from acme import types
  from acme.agents.jax.pwil import rewarder
  import dm_env
label_desc: Use image node_id 3 for calling the PWILAdder obj's underlying member method code with example usage: obj.add(action, next_timestep, extras) without return types