MCPcopy Index your code
hub / github.com/lazyprogrammer/machine_learning_examples / __array__

Method __array__

rl3/a2c/atari_wrappers.py:212–216  ·  view source on GitHub ↗
(self, dtype=None)

Source from the content-addressed store, hash-verified

210 self._frames = frames
211
212 def __array__(self, dtype=None):
213 out = np.concatenate(self._frames, axis=2)
214 if dtype is not None:
215 out = out.astype(dtype)
216 return out
217
218
219def make_atari(env_id):

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected