code: def complete_all_trajectories(self):
      
      for index in range(self.batch_size):
        trajectory = self._trajectories[index]
        assert trajectory.is_active
        self._complete_trajectory(trajectory, index)
docs: Essentially same as reset, but we don't have observations.