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

Method __init__

ElegantRL/Beta/env.py:12–37  ·  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, data_type=np.float32)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__init__Method · 0.45

Calls 1

get_gym_env_infoFunction · 0.70

Tested by

no test coverage detected