tensortrade.agents.a2c_agent module¶
References
-
class
tensortrade.agents.a2c_agent.A2CAgent(env: TradingEnvironment, shared_network: tensorflow.keras.Model = None, actor_network: tensorflow.keras.Model = None, critic_network: tensorflow.keras.Model = None)[source]¶
-
class
tensortrade.agents.a2c_agent.A2CTransition(state, action, reward, done, value)¶ Bases:
tuple-
__getnewargs__()¶ Return self as a plain tuple. Used by copy and pickle.
-
static
__new__(_cls, state, action, reward, done, value)¶ Create new instance of A2CTransition(state, action, reward, done, value)
-
__repr__()¶ Return a nicely formatted representation string
-
property
action¶ Alias for field number 1
-
property
done¶ Alias for field number 3
-
property
reward¶ Alias for field number 2
-
property
state¶ Alias for field number 0
-
property
value¶ Alias for field number 4
-