class_docstr: Reverb trajectory sequence observer.
  
  This is equivalent to ReverbAddTrajectoryObserver but sequences are not cut
  when a boundary trajectory is seen. This allows for sequences to be sampled
  with boundaries anywhere in the sequence rather than just at the end.
  
  Consider using this observer when you want to create training experience that
  can encompass any subsequence of the observed trajectories.
  
  **Note**: Counting of steps in drivers does not include boundary steps. To
  guarantee only 1 item is pushed to the replay when collecting n steps with a
  `sequence_length` of n make sure to set the `stride_length`
docstr: Writes the trajectory into the underlying replay buffer.
  
  Allows trajectory to be a flattened trajectory. No batch dimension allowed.
  
  Args:
    trajectory: The trajectory to be written which could be (possibly nested)
      trajectory object or a flattened version of a trajectory. It assumes
      there is *no* batch dimension.
code: def __call__(self, trajectory: trajectory_lib.Trajectory) -> None:
      """Writes the trajectory into the underlying replay buffer.
  
      Allows trajectory to be a flattened trajectory. No batch dimension allowed.
  
      Args:
        trajectory: The trajectory to be written which could be (possibly nested)
          trajectory object or a flattened version of a trajectory. It assumes
          there is *no* batch dimension.
      """
      # We record the last step called to generate the padding step when padding
      # is enabled.
      self._last_trajectory = trajectory
      self._get_writer().append(trajectory)
      self._cached_steps += 1
  
      self._write_cached_steps()
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from typing import Sequence, Text, Union
  from absl import logging
  import tensorflow
  from tf_agents.trajectories import trajectory
  from tf_agents.typing import types
  from tf_agents.utils import lazy_loader
label_desc: Use image node_id 1 for calling the ReverbTrajectorySequenceObserver obj's underlying member method code with example usage: obj.__call__(trajectory) without return types