class_docstr: An actor that also returns `log_prob`.
class_docstr_tok: ["An","actor","that","also","returns","`","log_prob","`","."]
code: def observe(
      self,
      action: types.NestedArray,
      next_timestep: dm_env.TimeStep,
  ):
      if not self._adder:
          return
  
      extras = {"log_prob": self._log_prob}
      extras = tf2_utils.to_numpy_squeeze(extras)
      self._adder.add(action, next_timestep, extras)
  
file_path: acme/acme/agents/tf/svg0_prior/acting.py
imports: from typing import Optional
  from acme import adders
  from acme import types
  from acme.agents.tf import actors
  from acme.tf import utils
  from acme.tf import variable_utils
  import dm_env
  import sonnet
label_desc: Use image node_id 3 for calling the SVG0Actor obj's underlying member method code with example usage: obj.observe(action, next_timestep) without return types