MCPcopy Create free account

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

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

↓ 1 callersMethodstep
(self, state: EnvState, action: jax.Array)
evorl/envs/wrappers/ma_training_wrapper.py:92
↓ 1 callersMethodstep
(self, state: EnvState, action: Action)
evorl/envs/wrappers/action_wrapper.py:25
↓ 1 callersMethodstep
(self, state: State)
evorl/algorithms/impala.py:374
↓ 1 callersMethodstep
(self, state: State)
evorl/algorithms/ppo.py:344
↓ 1 callersMethodstep
(self, state: State)
evorl/algorithms/contrib/td3_onpolicy.py:131
↓ 1 callersMethodstep
(self, state: State)
evorl/algorithms/contrib/pop_ppo.py:50
↓ 1 callersMethodstep
(self, state: State)
evorl/algorithms/contrib/pop_episodic_td3.py:163
↓ 1 callersMethodstep
(self, state: State)
evorl/algorithms/erl/cemrl_td3/cemrl.py:178
↓ 1 callersMethodstep
(self, state: State)
evorl/algorithms/erl/cemrl_td3/cemrl_openes.py:184
↓ 1 callersMethodstep
(self, state: State)
evorl/algorithms/erl/erl_td3/erl_eda.py:274
↓ 1 callersMethodstep
The basic step function for the workflow to update agent.
evorl/algorithms/erl/erl_td3/erl_ga.py:207
↓ 1 callersMethodstep
(self, state: State)
evorl/algorithms/meta/pbt_workflow.py:576
↓ 1 callersFunctionto_local_dict
(obj, *, dict_factory=dict)
evorl/metrics.py:146
↓ 1 callersFunctiontournament_selection
Tournament selection operator for single objective.
evorl/ec/operators/selection/tournament_selection.py:8
↓ 1 callersFunctiontrain
(config: DictConfig)
scripts/train.py:60
↓ 1 callersFunctiontrain_dist
(config: DictConfig)
scripts/train_dist.py:97
↓ 1 callersFunctiontree_device_put
Pytree version of `jax.device_put`.
evorl/distributed/sharding.py:9
↓ 1 callersFunctiontree_ones_like
Pytree version of `jnp.ones_like`.
evorl/utils/jax_utils.py:92
↓ 1 callersMethodupdate_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 callersMethodwarmup_step
(self, state: State)
evorl/algorithms/erl/erl_td3/erl_td3_workflow.py:95
↓ 1 callersMethodzs
(self, obs: jax.Array)
evorl/algorithms/td7.py:71
↓ 1 callersMethodzsa
(self, z_s: jax.Array, action: jax.Array)
evorl/algorithms/td7.py:75
MethodT
(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
← previousnext →401–500 of 1,203, ranked by callers