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

Method reset

ElegantRL/env.py:120–129  ·  view source on GitHub ↗

state = env.reset() convert the data type of state from float64 to float32 return `array state` state.shape==(state_dim, )

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

train_and_evaluateFunction · 0.45
mp_workerFunction · 0.45
mp_learnerFunction · 0.45
explore_before_trainingFunction · 0.45
explore_envMethod · 0.45
explore_envMethod · 0.45
explore_envMethod · 0.45
explore_envMethod · 0.45
explore_envMethod · 0.45
explore_envMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected