code: def _render_trajectories(self,
              trajectories: Tuple[NonFluents, Fluents, Fluents, Fluents, np.array]) -> None:
          '''Prints the first batch of simulated `trajectories`.
  
          Args:
              trajectories: NonFluents, states, actions, interms and rewards.
          '''
          if self._verbose:
              non_fluents, initial_state, states, actions, interms, rewards = trajectories
              shape = states[0][1].shape
              batch_size, horizon, = shape[0], shape[1]
              states = [(s[0], s[1][0]) for s in states]
              interms = [(f[0], f[1][0]) for f in interms]
              actions = [(a[0], a[1][0]) for a in actions]
              rewards = np.reshape(rewards, [batch_size, horizon])[0]
              self._render_batch(non_fluents, states, actions, interms, rewardsf _render_trajectories(self,
              trajectories: Tuple[NonFluents, Fluents, Fluents, Fluents, np.array]) -> None:
          '''Prints the first batch of simulated `trajectories`.
  
          Args:
              trajectories: NonFluents, states, actions, interms and rewards.
          '''
          if self._verbose:
              non_fluents, initial_state, states, actions, interms, rewards = trajectories
              shape = states[0][1].shape
              batch_size, horizon, = shape[0], shape[1]
              states = [(s[0], s[1][0]) for s in states]
              interms = [(f[0], f[1][0]) for f in interms]
              actions = [(a[0], a[1][0]) for a in actions]
              rewards = np.reshape(rewards, [batch_size, horizon])[0]
              self._render_batch(non_fluents, states, actions, interms, rewards)
docs: Prints the first batch of simulated `trajectories`.
  
          Args:
              trajectories: NonFluents, states, actions, interms and rewards.