class_docstr: Basically a list of TimeSteps with convenience methods.
class_docstr_tok: ["Basically","a","list","of","TimeSteps","with","convenience","methods","."]
code: def info_np(self):
      if not self.time_steps or not self.time_steps[0].info:
          return None
      info_np_dict = {}
      for info_key in self.time_steps[0].info:
          # Same as actions, the last info is missing, so we skip it.
          info_np_dict[info_key] = np.stack(
              [ts.info[info_key] for ts in self.time_steps[:-1]]
          )
      return info_np_dict
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import pickle
  import re
  import sys
  import time
  from absl import logging
  import cloudpickle
  import numpy
  from tensor2tensor.envs import time_step
  import tensorflow.compat.v1
label_desc: Use image node_id 15 for calling the Trajectory obj's underlying member method code with example usage: obj.info_np() and returns: info_np_dict, None