xpag.agents.rljax_agents.algorithm.base_class.base_algorithm.OffPolicyAlgorithm#

class OffPolicyAlgorithm(num_agent_steps, observation_dim, action_dim, seed, max_grad_norm, gamma, nstep, buffer_size, use_per, batch_size, start_steps, update_interval, update_interval_target=None, tau=None)#

Bases: BaseAlgorithm

Base class for off-policy algorithms.

Methods

explore

get_key_list

get_mask

is_update

load_params

save_params

select_action

step

update

Attributes

name