class_docstr: This class represents the time-step as mentioned above.
docstr: Creates a TimeStep with both rewards and actions as optional.
docstr_tok: ["Creates","a","TimeStep","with","both","rewards","and","actions","as","optional","."]
code: def create_time_step(
      cls,
      observation=None,
      done=False,
      raw_reward=None,
      processed_reward=None,
      action=None,
      info=None,
  ):
      """Creates a TimeStep with both rewards and actions as optional."""
  
      return cls(
          observation, done, raw_reward, processed_reward, action, info
      )
  
file_path: tensor2tensor/tensor2tensor/envs/time_step.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
label_desc: Use image node_id 2 for calling the TimeStep obj's underlying member method code with example usage: obj.create_time_step(cls, observation, done, raw_reward, processed_reward, action, info) and returns: cls