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
Function
normalize_leaf
( data: chex.Array, mean: chex.Array, std: chex.Array )
evorl/utils/running_statistics.py:191
Method
normalize_obs
(self)
evorl/algorithms/ddpg.py:68
Method
normalize_obs
(self)
evorl/algorithms/impala.py:69
Method
normalize_obs
(self)
evorl/algorithms/a2c.py:62
Method
normalize_obs
(self)
evorl/algorithms/td7.py:178
Method
normalize_obs
(self)
evorl/algorithms/td3.py:70
Method
normalize_obs
(self)
evorl/algorithms/sac.py:64
Method
normalize_obs
(self)
evorl/algorithms/sac.py:228
Method
normalize_obs
(self)
evorl/algorithms/ppo.py:71
Method
normalize_obs
(self)
evorl/algorithms/dqn.py:67
Method
normalize_obs
(self)
evorl/algorithms/contrib/td3_v3.py:63
Method
normalize_obs
(self)
evorl/algorithms/ec/ec_agent.py:46
Method
normalize_obs
(self)
evorl/algorithms/ec/ec_agent.py:120
Method
obs_space
(self)
evorl/envs/jumanji.py:48
Method
obs_space
(self)
evorl/envs/gymnax.py:82
Method
obs_space
(self)
evorl/envs/mujoco_playground.py:100
Method
obs_space
(self)
evorl/envs/brax.py:68
Method
obs_space
(self)
evorl/envs/jaxmarl.py:92
Method
obs_space
(self)
evorl/envs/envpool.py:184
Method
obs_space
(self)
evorl/envs/gymnasium.py:254
Method
obs_space
Get the observation space of the environment.
evorl/envs/env.py:66
Method
obs_space
Return the observation space of the environment.
evorl/envs/multi_agent_env.py:33
Method
obs_space
(self)
evorl/envs/wrappers/wrapper.py:26
Method
obs_space
(self)
evorl/envs/wrappers/obs_wrapper.py:38
Method
obs_space
(self)
tests/utils.py:51
Method
obs_space
(self)
tests/utils.py:98
Function
optimize_gpu_utilization
Possible Optimizations for Nvidia GPU. This function is not tested.
evorl/utils/jax_utils.py:21
Method
parse
(self, input_string: str, document: nodes.document)
docs/autodoc2_docstrings_parser.py:7
Function
pmap_method
A decorator for `jax.pmap` with arguments.
evorl/utils/jax_utils.py:202
Function
pmax
(x, axis_name: str | None = None)
evorl/distributed/comm.py:31
Function
pmean
(x, axis_name: str | None = None)
evorl/distributed/comm.py:10
Function
pmin
(x, axis_name: str | None = None)
evorl/distributed/comm.py:24
Function
pytest_addoption
(parser)
tests/conftest.py:25
Function
pytest_configure
(config)
tests/conftest.py:35
Method
reached_preemption
(self, step: int)
evorl/utils/orbax_utils.py:97
Method
reload
(self)
evorl/utils/orbax_utils.py:94
Function
replace
Returns a new object replacing the specified fields with new values.
evorl/types.py:200
Method
reset
(self, key: chex.PRNGKey)
evorl/envs/jumanji.py:21
Method
reset
(self, key: chex.PRNGKey)
evorl/envs/gymnax.py:34
Method
reset
(self, key: chex.PRNGKey)
evorl/envs/brax.py:32
Method
reset
(self, key: chex.PRNGKey)
evorl/envs/jaxmarl.py:41
Method
reset
(self, key: chex.PRNGKey)
evorl/envs/multi_agent_env.py:17
Method
reset
(self, key: chex.PRNGKey)
evorl/envs/wrappers/training_wrapper.py:47
Method
reset
Reset the vmapped env. Args: key: support batched keys [B,2] or single key [2]
evorl/envs/wrappers/training_wrapper.py:183
Method
reset
Reset the vmapped env. Args: key: support batched keys [B,2] or single key [2]
evorl/envs/wrappers/training_wrapper.py:256
Method
reset
(self, key: chex.PRNGKey)
evorl/envs/wrappers/wrapper.py:19
Method
reset
(self, key: chex.PRNGKey)
evorl/envs/wrappers/reward_wrapper.py:49
Method
reset
(self, key: chex.PRNGKey)
evorl/envs/wrappers/ma_training_wrapper.py:19
Method
reset
(self, key: chex.PRNGKey)
evorl/envs/wrappers/ma_training_wrapper.py:106
Method
reset
(self, key: chex.PRNGKey)
evorl/envs/wrappers/ma_training_wrapper.py:162
Method
reset
(self, key: chex.PRNGKey)
evorl/envs/wrappers/obs_wrapper.py:29
Method
reset
(self, key)
tests/utils.py:67
Method
restore
(self, step, items, **kwargs)
evorl/utils/orbax_utils.py:124
Function
rng_split_by_shape
Split the key into multiple keys according to the shape.
evorl/utils/jax_utils.py:248
Function
rollout
( env_fn: EnvStepFn, action_fn: AgentActionFn, env_state: EnvState, agent_state: AgentState,
evorl/evaluators/ec_evaluator.py:37
Method
rollout_step
(carry, _)
tests/test_mjx_env.py:177
Method
sample
Randomly sample a data in this space. Returns: A sample from the space
evorl/envs/space.py:18
Method
sample
(self, key: chex.PRNGKey)
evorl/envs/space.py:72
Method
sample
Sample a batch of data from the replay buffer. Args: buffer_state: The current state of the replay buffer. key: JAX P
evorl/replay_buffers/replay_buffer.py:57
Method
sample
( self, buffer_state: ReplayBufferState, key: chex.ArrayTree )
evorl/replay_buffers/replay_buffer.py:161
Method
sample
Sample a batch proportional to priorities with IS weights. Args: buffer_state: Current buffer state. key: PRNG key.
evorl/replay_buffers/prioritized_replay_buffer.py:95
Method
sample
Sample a batch proportional to alpha-scaled priorities without IS weights. Args: buffer_state: Current buffer state.
evorl/replay_buffers/lap_replay_buffer.py:28
Method
sample_from_noise_table
(idx)
evorl/ec/optimizers/openes.py:204
Method
save
(self, step, items, **kwargs)
evorl/utils/orbax_utils.py:121
Method
setup
(self, key: chex.PRNGKey)
evorl/workflows/rl_workflow.py:192
Method
setup
(self, key: chex.PRNGKey)
evorl/workflows/rl_workflow.py:308
Method
setup
(self, key: chex.PRNGKey)
evorl/workflows/ec_workflow.py:191
Method
setup
(self, key)
evorl/ec/evox_algorithm/cmaes.py:120
Method
setup
(self, key)
evorl/ec/evox_algorithm/cmaes.py:233
Method
setup
(self, key)
evorl/ec/evox_algorithm/openes.py:74
Method
setup
(self, key)
evorl/ec/evox_algorithm/cso.py:42
Method
setup
(self, key: chex.PRNGKey)
evorl/algorithms/random_agent.py:57
Method
setup
(self)
evorl/algorithms/td7.py:59
Method
setup
(self, key: chex.PRNGKey)
evorl/algorithms/contrib/pop_td3.py:64
Method
setup
(self, key: chex.PRNGKey)
evorl/algorithms/contrib/pop_ppo.py:40
Method
setup
(self, key: chex.PRNGKey)
evorl/algorithms/erl/erl_workflow.py:101
Method
setup
(self, key: chex.PRNGKey)
evorl/algorithms/erl/cemrl_workflow.py:92
Method
setup
(self, key: chex.PRNGKey)
evorl/algorithms/erl/erl_td3/erl_td3_workflow.py:48
Method
setup
(self, key: chex.PRNGKey)
evorl/algorithms/meta/pbt_workflow.py:476
Method
setup
(self, key: chex.PRNGKey)
evorl/algorithms/meta/pbt_ppo/param_ppo.py:206
Method
setup
(self, key: chex.PRNGKey)
evorl/algorithms/meta/pbt_sac/param_sac.py:211
Method
shape
Get the shape of the space.
evorl/envs/space.py:14
Method
shape
(self)
evorl/envs/space.py:56
Method
shape
(self)
evorl/envs/space.py:76
Method
shape
(self)
evorl/envs/space.py:104
Function
shmap_f
(*args)
evorl/distributed/sharding.py:17
Function
shmap_map
Sequential execution on different gpu. Args: fn: function to be executed, only positional arguments are supported sharding: JAX s
evorl/distributed/sharding.py:25
Method
should_save
(self, step: int)
evorl/utils/orbax_utils.py:100
Function
shuffle_sample_batch
Shuffle the sample batch.
evorl/utils/rl_toolkits.py:163
Method
slice
(self, beg: int, end: int, strides=None)
evorl/types.py:64
Method
step
Define the logic of one training iteration.
evorl/workflows/workflow.py:31
Method
step
Customize the training logic of one iteration. Args: state: State of the workflow. Returns: Tuple of (metric
evorl/workflows/rl_workflow.py:99
Method
step
(self, state: State)
evorl/workflows/ec_workflow.py:273
Method
step
(self, state: State)
evorl/workflows/ec_workflow.py:376
Method
step
(self, state: EnvState, action: Action)
evorl/envs/jumanji.py:31
Method
step
(self, state: EnvState, action: Action)
evorl/envs/gymnax.py:52
Method
step
(self, state: EnvState, action: Action)
evorl/envs/mujoco_playground.py:68
Method
step
(self, state: EnvState, action: Action)
evorl/envs/brax.py:47
Method
step
(self, state: EnvState, action: Action)
evorl/envs/jaxmarl.py:64
Method
step
(self, state: EnvState, action: Action)
evorl/envs/jaxmarl.py:154
← previous
next →
1,001–1,100 of 1,203, ranked by callers