MCPcopy Create free account
hub / github.com/Yonv1943/Python / __init__

Method __init__

ElegantRL/Beta/elegantrl2/env.py:12–30  ·  view source on GitHub ↗

Preprocess a standard OpenAI gym environment for training. `object env` a standard OpenAI gym environment, it has env.reset() and env.step() `bool if_print` print the information of environment. Such as env_name, state_dim ... `object data_type` convert state (sometimes floa

(self, env, if_print=True)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

get_gym_env_infoFunction · 0.70

Tested by

no test coverage detected