xpag.agents.agent.Agent#

class Agent(name, observation_dim, action_dim, params)#

Bases: ABC

Methods

load

save

select_action

rtype:

Union[ndarray, Array, Tuple[Union[ndarray, Array], Dict]]

train_on_batch

rtype:

dict

write_config