MCPcopy Create free account

hub / github.com/EMI-Group/evorl / functions

Functions1,203 in github.com/EMI-Group/evorl

Functionnormalize_leaf
( data: chex.Array, mean: chex.Array, std: chex.Array )
evorl/utils/running_statistics.py:191
Methodnormalize_obs
(self)
evorl/algorithms/ddpg.py:68
Methodnormalize_obs
(self)
evorl/algorithms/impala.py:69
Methodnormalize_obs
(self)
evorl/algorithms/a2c.py:62
Methodnormalize_obs
(self)
evorl/algorithms/td7.py:178
Methodnormalize_obs
(self)
evorl/algorithms/td3.py:70
Methodnormalize_obs
(self)
evorl/algorithms/sac.py:64
Methodnormalize_obs
(self)
evorl/algorithms/sac.py:228
Methodnormalize_obs
(self)
evorl/algorithms/ppo.py:71
Methodnormalize_obs
(self)
evorl/algorithms/dqn.py:67
Methodnormalize_obs
(self)
evorl/algorithms/contrib/td3_v3.py:63
Methodnormalize_obs
(self)
evorl/algorithms/ec/ec_agent.py:46
Methodnormalize_obs
(self)
evorl/algorithms/ec/ec_agent.py:120
Methodobs_space
(self)
evorl/envs/jumanji.py:48
Methodobs_space
(self)
evorl/envs/gymnax.py:82
Methodobs_space
(self)
evorl/envs/mujoco_playground.py:100
Methodobs_space
(self)
evorl/envs/brax.py:68
Methodobs_space
(self)
evorl/envs/jaxmarl.py:92
Methodobs_space
(self)
evorl/envs/envpool.py:184
Methodobs_space
(self)
evorl/envs/gymnasium.py:254
Methodobs_space
Get the observation space of the environment.
evorl/envs/env.py:66
Methodobs_space
Return the observation space of the environment.
evorl/envs/multi_agent_env.py:33
Methodobs_space
(self)
evorl/envs/wrappers/wrapper.py:26
Methodobs_space
(self)
evorl/envs/wrappers/obs_wrapper.py:38
Methodobs_space
(self)
tests/utils.py:51
Methodobs_space
(self)
tests/utils.py:98
Functionoptimize_gpu_utilization
Possible Optimizations for Nvidia GPU. This function is not tested.
evorl/utils/jax_utils.py:21
Methodparse
(self, input_string: str, document: nodes.document)
docs/autodoc2_docstrings_parser.py:7
Functionpmap_method
A decorator for `jax.pmap` with arguments.
evorl/utils/jax_utils.py:202
Functionpmax
(x, axis_name: str | None = None)
evorl/distributed/comm.py:31
Functionpmean
(x, axis_name: str | None = None)
evorl/distributed/comm.py:10
Functionpmin
(x, axis_name: str | None = None)
evorl/distributed/comm.py:24
Functionpytest_addoption
(parser)
tests/conftest.py:25
Functionpytest_configure
(config)
tests/conftest.py:35
Methodreached_preemption
(self, step: int)
evorl/utils/orbax_utils.py:97
Methodreload
(self)
evorl/utils/orbax_utils.py:94
Functionreplace
Returns a new object replacing the specified fields with new values.
evorl/types.py:200
Methodreset
(self, key: chex.PRNGKey)
evorl/envs/jumanji.py:21
Methodreset
(self, key: chex.PRNGKey)
evorl/envs/gymnax.py:34
Methodreset
(self, key: chex.PRNGKey)
evorl/envs/brax.py:32
Methodreset
(self, key: chex.PRNGKey)
evorl/envs/jaxmarl.py:41
Methodreset
(self, key: chex.PRNGKey)
evorl/envs/multi_agent_env.py:17
Methodreset
(self, key: chex.PRNGKey)
evorl/envs/wrappers/training_wrapper.py:47
Methodreset
Reset the vmapped env. Args: key: support batched keys [B,2] or single key [2]
evorl/envs/wrappers/training_wrapper.py:183
Methodreset
Reset the vmapped env. Args: key: support batched keys [B,2] or single key [2]
evorl/envs/wrappers/training_wrapper.py:256
Methodreset
(self, key: chex.PRNGKey)
evorl/envs/wrappers/wrapper.py:19
Methodreset
(self, key: chex.PRNGKey)
evorl/envs/wrappers/reward_wrapper.py:49
Methodreset
(self, key: chex.PRNGKey)
evorl/envs/wrappers/ma_training_wrapper.py:19
Methodreset
(self, key: chex.PRNGKey)
evorl/envs/wrappers/ma_training_wrapper.py:106
Methodreset
(self, key: chex.PRNGKey)
evorl/envs/wrappers/ma_training_wrapper.py:162
Methodreset
(self, key: chex.PRNGKey)
evorl/envs/wrappers/obs_wrapper.py:29
Methodreset
(self, key)
tests/utils.py:67
Methodrestore
(self, step, items, **kwargs)
evorl/utils/orbax_utils.py:124
Functionrng_split_by_shape
Split the key into multiple keys according to the shape.
evorl/utils/jax_utils.py:248
Functionrollout
( env_fn: EnvStepFn, action_fn: AgentActionFn, env_state: EnvState, agent_state: AgentState,
evorl/evaluators/ec_evaluator.py:37
Methodrollout_step
(carry, _)
tests/test_mjx_env.py:177
Methodsample
Randomly sample a data in this space. Returns: A sample from the space
evorl/envs/space.py:18
Methodsample
(self, key: chex.PRNGKey)
evorl/envs/space.py:72
Methodsample
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
Methodsample
( self, buffer_state: ReplayBufferState, key: chex.ArrayTree )
evorl/replay_buffers/replay_buffer.py:161
Methodsample
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
Methodsample
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
Methodsample_from_noise_table
(idx)
evorl/ec/optimizers/openes.py:204
Methodsave
(self, step, items, **kwargs)
evorl/utils/orbax_utils.py:121
Methodsetup
(self, key: chex.PRNGKey)
evorl/workflows/rl_workflow.py:192
Methodsetup
(self, key: chex.PRNGKey)
evorl/workflows/rl_workflow.py:308
Methodsetup
(self, key: chex.PRNGKey)
evorl/workflows/ec_workflow.py:191
Methodsetup
(self, key)
evorl/ec/evox_algorithm/cmaes.py:120
Methodsetup
(self, key)
evorl/ec/evox_algorithm/cmaes.py:233
Methodsetup
(self, key)
evorl/ec/evox_algorithm/openes.py:74
Methodsetup
(self, key)
evorl/ec/evox_algorithm/cso.py:42
Methodsetup
(self, key: chex.PRNGKey)
evorl/algorithms/random_agent.py:57
Methodsetup
(self)
evorl/algorithms/td7.py:59
Methodsetup
(self, key: chex.PRNGKey)
evorl/algorithms/contrib/pop_td3.py:64
Methodsetup
(self, key: chex.PRNGKey)
evorl/algorithms/contrib/pop_ppo.py:40
Methodsetup
(self, key: chex.PRNGKey)
evorl/algorithms/erl/erl_workflow.py:101
Methodsetup
(self, key: chex.PRNGKey)
evorl/algorithms/erl/cemrl_workflow.py:92
Methodsetup
(self, key: chex.PRNGKey)
evorl/algorithms/erl/erl_td3/erl_td3_workflow.py:48
Methodsetup
(self, key: chex.PRNGKey)
evorl/algorithms/meta/pbt_workflow.py:476
Methodsetup
(self, key: chex.PRNGKey)
evorl/algorithms/meta/pbt_ppo/param_ppo.py:206
Methodsetup
(self, key: chex.PRNGKey)
evorl/algorithms/meta/pbt_sac/param_sac.py:211
Methodshape
Get the shape of the space.
evorl/envs/space.py:14
Methodshape
(self)
evorl/envs/space.py:56
Methodshape
(self)
evorl/envs/space.py:76
Methodshape
(self)
evorl/envs/space.py:104
Functionshmap_f
(*args)
evorl/distributed/sharding.py:17
Functionshmap_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
Methodshould_save
(self, step: int)
evorl/utils/orbax_utils.py:100
Functionshuffle_sample_batch
Shuffle the sample batch.
evorl/utils/rl_toolkits.py:163
Methodslice
(self, beg: int, end: int, strides=None)
evorl/types.py:64
Methodstep
Define the logic of one training iteration.
evorl/workflows/workflow.py:31
Methodstep
Customize the training logic of one iteration. Args: state: State of the workflow. Returns: Tuple of (metric
evorl/workflows/rl_workflow.py:99
Methodstep
(self, state: State)
evorl/workflows/ec_workflow.py:273
Methodstep
(self, state: State)
evorl/workflows/ec_workflow.py:376
Methodstep
(self, state: EnvState, action: Action)
evorl/envs/jumanji.py:31
Methodstep
(self, state: EnvState, action: Action)
evorl/envs/gymnax.py:52
Methodstep
(self, state: EnvState, action: Action)
evorl/envs/mujoco_playground.py:68
Methodstep
(self, state: EnvState, action: Action)
evorl/envs/brax.py:47
Methodstep
(self, state: EnvState, action: Action)
evorl/envs/jaxmarl.py:64
Methodstep
(self, state: EnvState, action: Action)
evorl/envs/jaxmarl.py:154
← previousnext →1,001–1,100 of 1,203, ranked by callers