(self, env)
Adds two qunatities to info returned by every step:

            num_steps: int
                Number of steps takes so far
            rewards: [float]
                All the cumulative rewards for the episodes completed so far.
Adds two qunatities to info returned by every step:
Adds two qunatities to info returned by every step :
def __init__(self, env):
        """Adds two qunatities to info returned by every step:

            num_steps: int
                Number of steps takes so far
            rewards: [float]
                All the cumulative rewards for the episodes completed so far.
        """
        super().__init__(env)
        # current episode state
        self._current_reward = None
        self._num_steps = None
        # temporary monitor state that we do not save
        self._time_offset = None
        self._total_steps = None
        # monitor state
        self._episode_rewards = []
        self._episode_lengths = []
        self._episode_end_times = []
def __init__ ( self , env ) : super ( ) . __init__ ( env ) # current episode state self . _current_reward = None self . _num_steps = None # temporary monitor state that we do not save self . _time_offset = None self . _total_steps = None # monitor state self . _episode_rewards = [ ] self . _episode_lengths = [ ] self . _episode_end_times = [ ]