Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EMI-Group/evorl
/ functions
Functions
1,203 in github.com/EMI-Group/evorl
⨍
Functions
1,203
◇
Types & classes
249
↳
Endpoints
1
↓ 1 callers
Method
step
(self, state: EnvState, action: jax.Array)
evorl/envs/wrappers/ma_training_wrapper.py:92
↓ 1 callers
Method
step
(self, state: EnvState, action: Action)
evorl/envs/wrappers/action_wrapper.py:25
↓ 1 callers
Method
step
(self, state: State)
evorl/algorithms/impala.py:374
↓ 1 callers
Method
step
(self, state: State)
evorl/algorithms/ppo.py:344
↓ 1 callers
Method
step
(self, state: State)
evorl/algorithms/contrib/td3_onpolicy.py:131
↓ 1 callers
Method
step
(self, state: State)
evorl/algorithms/contrib/pop_ppo.py:50
↓ 1 callers
Method
step
(self, state: State)
evorl/algorithms/contrib/pop_episodic_td3.py:163
↓ 1 callers
Method
step
(self, state: State)
evorl/algorithms/erl/cemrl_td3/cemrl.py:178
↓ 1 callers
Method
step
(self, state: State)
evorl/algorithms/erl/cemrl_td3/cemrl_openes.py:184
↓ 1 callers
Method
step
(self, state: State)
evorl/algorithms/erl/erl_td3/erl_eda.py:274
↓ 1 callers
Method
step
The basic step function for the workflow to update agent.
evorl/algorithms/erl/erl_td3/erl_ga.py:207
↓ 1 callers
Method
step
(self, state: State)
evorl/algorithms/meta/pbt_workflow.py:576
↓ 1 callers
Function
to_local_dict
(obj, *, dict_factory=dict)
evorl/metrics.py:146
↓ 1 callers
Function
tournament_selection
Tournament selection operator for single objective.
evorl/ec/operators/selection/tournament_selection.py:8
↓ 1 callers
Function
train
(config: DictConfig)
scripts/train.py:60
↓ 1 callers
Function
train_dist
(config: DictConfig)
scripts/train_dist.py:97
↓ 1 callers
Function
tree_device_put
Pytree version of `jax.device_put`.
evorl/distributed/sharding.py:9
↓ 1 callers
Function
tree_ones_like
Pytree version of `jnp.ones_like`.
evorl/utils/jax_utils.py:92
↓ 1 callers
Method
update_priority
Update priorities at the last sampled indices. Args: buffer_state: Current buffer state (must have valid sample_indices).
evorl/replay_buffers/prioritized_replay_buffer.py:152
↓ 1 callers
Method
warmup_step
(self, state: State)
evorl/algorithms/erl/erl_td3/erl_td3_workflow.py:95
↓ 1 callers
Method
zs
(self, obs: jax.Array)
evorl/algorithms/td7.py:71
↓ 1 callers
Method
zsa
(self, z_s: jax.Array, action: jax.Array)
evorl/algorithms/td7.py:75
Method
T
(self)
evorl/types.py:84
Method
__add__
(self, o: chex.ArrayTree)
evorl/types.py:46
Method
__call__
(self, obs: chex.Array, *args: Any, **kwds: Any)
evorl/agent.py:47
Method
__call__
( self, agent_state: AgentState, sample_batch: SampleBatch, key: chex.PRNGKey )
evorl/agent.py:57
Method
__call__
( self, agent_state: AgentState, sample_batch: SampleBatch, key: chex.PRNGKey )
evorl/agent.py:66
Method
__call__
( self, env_fn: EnvStepFn, action_fn: AgentActionFn, env_state: EnvState,
evorl/rollout.py:25
Method
__call__
(self, data: jax.Array)
evorl/networks/linear.py:26
Method
__call__
(self, data: jax.Array)
evorl/networks/linear.py:60
Method
__call__
(self, obs: jax.Array)
evorl/networks/linear.py:161
Method
__call__
(self, obs: jax.Array)
evorl/networks/linear.py:192
Method
__call__
(self, obs: jax.Array, actions: jax.Array)
evorl/networks/linear.py:226
Method
__call__
(self, x, *, mask: Optional[jax.Array] = None)
evorl/networks/layer_norm.py:17
Method
__call__
Applies a linear transformation to the inputs along the last dimension. Args: inputs: The nd-array to be transformed. Re
evorl/networks/spectral_norm.py:85
Method
__call__
(self, x)
evorl/networks/cnn/atari_cnn.py:17
Method
__call__
(self, x)
evorl/networks/cnn/atari_cnn.py:41
Method
__call__
(self, x)
evorl/networks/cnn/atari_cnn.py:87
Method
__call__
(self, x)
evorl/networks/cnn/atari_cnn.py:97
Method
__call__
(self, fitnesses, num_offsprings, key)
evorl/ec/operators/selection/tournament_selection.py:32
Method
__call__
(self, xs: chex.ArrayTree, key: chex.PRNGKey)
evorl/ec/operators/mutation/mlp_mutation.py:87
Method
__call__
(self, xs: chex.ArrayTree, key: chex.PRNGKey)
evorl/ec/operators/mutation/erl_mutation.py:163
Method
__call__
(self, xs: chex.ArrayTree, key: chex.PRNGKey)
evorl/ec/operators/crossover/mlp_crossover.py:83
Method
__call__
( self, obs: jax.Array, action: jax.Array )
evorl/algorithms/td7.py:79
Method
__call__
(self, obs: jax.Array, z_s: jax.Array)
evorl/algorithms/td7.py:95
Method
__call__
( self, obs: jax.Array, action: jax.Array, z_sa: jax.Array, z_s: jax.Array )
evorl/algorithms/td7.py:116
Method
__call__
(self, x)
evorl/algorithms/contrib/ars_linear.py:40
Method
__getattr__
(self, name)
evorl/envs/wrappers/wrapper.py:40
Method
__init__
(self, *args, **kwargs)
evorl/types.py:92
Method
__init__
Initialize the distribution. Args: distribution: The distribution to transform. threshold: Clipping value of the action w
evorl/distribution.py:54
Method
__init__
Initialize the ParamVectorSpec. Args: params: Provide the structure of the parameters. It should be a single instance of model pa
evorl/utils/ec_utils.py:15
Method
__init__
Initialize a RLWorkflow instance. Args: config: the config object.
evorl/workflows/workflow.py:50
Method
__init__
Initialize an OnPolicyWorkflow instance. Args: env: Environment object. agent: Workflow-sepecific agent object.
evorl/workflows/rl_workflow.py:149
Method
__init__
Initialize an OffPolicyWorkflow instance. Args: env: Environment object. agent: Workflow-sepecific agent object.
evorl/workflows/rl_workflow.py:254
Method
__init__
Initialize the ECWorkflow instance. Args: env: Environment object. agent: Workflow-sepecific agent object.
evorl/workflows/ec_workflow.py:146
Method
__init__
Initialize the ChainRecorder. Args: recorders: A sequence of recorders to use.
evorl/recorders/recorder.py:28
Method
__init__
(self, *, project, name, config, tags, path, **wandb_kwargs)
evorl/recorders/wandb_recorder.py:16
Method
__init__
Initialize the log recorder. Args: log_path: The path to the log file. console: Whether to print the log to the conso
evorl/recorders/log_recorder.py:23
Method
__init__
(self, env: JumanjiEnv)
evorl/envs/jumanji.py:18
Method
__init__
(self, env: GymnaxEnv, env_params: chex.ArrayTree | None = None)
evorl/envs/gymnax.py:30
Method
__init__
(self, env: MjxEnv)
evorl/envs/mujoco_playground.py:38
Method
__init__
(self, env: BraxEnv)
evorl/envs/brax.py:29
Method
__init__
(self, env: MultiAgentEnv)
evorl/envs/jaxmarl.py:38
Method
__init__
(self, env: Env)
evorl/envs/envpool.py:192
Method
__init__
(self, env: Env)
evorl/envs/gymnasium.py:261
Method
__init__
(self, env: Any)
evorl/envs/env.py:77
Method
__init__
(self, env: Any)
evorl/envs/multi_agent_env.py:49
Method
__init__
Initializes the env wrapper. Args: env: the wrapped env should be a single un-vectorized environment. episode_length:
evorl/envs/wrappers/training_wrapper.py:25
Method
__init__
Initialize the env wrapper. Args: env: the original env num_envs: number of parallel envs.
evorl/envs/wrappers/training_wrapper.py:173
Method
__init__
Initialize the env wrapper. Args: env: the original env num_envs: number of parallel envs.
evorl/envs/wrappers/training_wrapper.py:246
Method
__init__
Initialize the env wrapper. Args: env: the original env num_envs: number of parallel envs.
evorl/envs/wrappers/training_wrapper.py:304
Method
__init__
Initialize the env wrapper. Args: env: the orginal env.
evorl/envs/wrappers/wrapper.py:11
Method
__init__
(self, env: Env, sparse_length: int)
evorl/envs/wrappers/reward_wrapper.py:45
Method
__init__
(self, env: Env, episode_length: int)
evorl/envs/wrappers/ma_training_wrapper.py:15
Method
__init__
(self, env: Env, episode_length: int)
evorl/envs/wrappers/ma_training_wrapper.py:60
Method
__init__
(self, env: Env, num_envs: int = 1)
evorl/envs/wrappers/ma_training_wrapper.py:102
Method
__init__
(self, env: Env, num_envs: int = 1)
evorl/envs/wrappers/ma_training_wrapper.py:158
Method
__init__
(self, env: Env, action_repeat: int)
evorl/envs/wrappers/action_wrapper.py:45
Method
__init__
(self, env: Env)
evorl/envs/wrappers/obs_wrapper.py:15
Method
__init__
Multi-Agent Brax environment. Compared to the original MABraxEnv, this version disables the autoreset and other wrappers in internal brax env
evorl/envs/jaxmarl_envs/mabrax.py:19
Method
__init__
(self, **kwargs)
evorl/envs/jaxmarl_envs/mabrax.py:129
Method
__init__
(self, **kwargs)
evorl/envs/jaxmarl_envs/mabrax.py:134
Method
__init__
(self, **kwargs)
evorl/envs/jaxmarl_envs/mabrax.py:139
Method
__init__
(self, **kwargs)
evorl/envs/jaxmarl_envs/mabrax.py:144
Method
__init__
This implementation follows `The CMA Evolution Strategy: A Tutorial <https://arxiv.org/pdf/1604.00772.pdf>`_. .. note:: CMA-ES in
evorl/ec/evox_algorithm/cmaes.py:17
Method
__init__
( self, center_init, pop_size, learning_rate, noise_std, optim
evorl/ec/evox_algorithm/openes.py:42
Method
__init__
( self, agent: Agent, evaluator: Evaluator, config: DictConfig, )
evorl/algorithms/random_agent.py:21
Method
__init__
(self, **kwargs)
evorl/algorithms/contrib/pop_episodic_td3.py:39
Method
__init__
( self, *, env: Env, agent: Agent, agent_state_vmap_axes: AgentStateAx
evorl/algorithms/erl/erl_workflow.py:49
Method
__init__
( self, *, env: Env, agent: Agent, agent_state_vmap_axes: AgentStateAx
evorl/algorithms/erl/cemrl_workflow.py:42
Method
__init__
(self, **kwargs)
evorl/algorithms/erl/cemrl_td3/cemrl_td3_workflow.py:29
Method
__init__
(self, **kwargs)
evorl/algorithms/erl/erl_td3/erl_td3_workflow.py:39
Method
__init__
(self, **kwargs)
evorl/algorithms/erl/erl_td3/erl_eda.py:55
Method
__init__
( self, workflow: OffPolicyWorkflow, evaluator: Evaluator, config: DictConfig )
evorl/algorithms/meta/pbt_workflow.py:470
Method
__init__
( self, *, env: Env, agent: Agent, ec_optimizer: EvoOptimizer,
evorl/algorithms/ec/so/es_workflow.py:21
Method
__init__
(self, rewards, dones)
tests/utils.py:20
Method
__init__
(self, rewards, dones)
tests/utils.py:60
Method
__init_subclass__
(cls, kw_only=True, **kwargs)
evorl/types.py:245
Method
__init_subclass__
(cls, kw_only=True, **kwargs)
evorl/types.py:287
Method
__mul__
(self, o: chex.ArrayTree)
evorl/types.py:52
← previous
next →
401–500 of 1,203, ranked by callers