Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tensorpack/tensorpack
/ observation
Method
observation
examples/A3C-Gym/atari_wrapper.py:50–52 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
48
return
self.observation(), reward, done, info
49
50
def
observation(self):
51
assert len(self.frames) == self.k
52
return
np.stack(self.frames, axis=-1)
53
54
55
class
_FireResetEnv(gym.Wrapper):
Callers
2
reset
Method · 0.95
step
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected