alpaca/alpacka/envs.py
def clone_state(self):
        """Returns the current environment state."""
        assert self._elapsed_steps is not None, (
            'Environment must be reset before the first clone_state().'
        )

        return TimeLimitWrapperState(
            super().clone_state(), self._elapsed_steps)
Returns the current environment state.
Returns the current environment state.
Returns the current environment state .
def clone_state(self):
        assert self._elapsed_steps is not None, (
            'Environment must be reset before the first clone_state().'
        )
        return TimeLimitWrapperState(
            super().clone_state(), self._elapsed_steps)
def clone_state ( self ) : assert self . _elapsed_steps is not None , ( 'Environment must be reset before the first clone_state().' ) return TimeLimitWrapperState ( super ( ) . clone_state ( ) , self . _elapsed_steps )
Returns the current environment state.
Returns the current environment state .
"""Returns the current environment state."""
self