Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SurrealAI/surreal
/ functions
Functions
791 in github.com/SurrealAI/surreal
⨍
Functions
791
◇
Types & classes
148
Method
__init__
Keep a running estimate of a quantity. This is a bit like mean but more sensitive to recent changes. Parameters ----------
surreal/session/tracker.py:48
Method
__init__
(self, tensorplex, min_update_interval)
surreal/session/tracker.py:90
Method
__init__
Args: tensorplex: TensorplexClient object period: when you call `update()`, it will only send to Tensorplex
surreal/session/tracker.py:108
Method
__init__
Args: update_interval: print every N episodes average_over: average rewards/speed over the last N episodes
surreal/env/monitor.py:72
Method
__init__
Display "reward" and "step_per_s" curves on Tensorboard Args: env: agent_id: int. session_config
surreal/env/monitor.py:115
Method
__init__
Display "reward" and "step_per_s" curves on Tensorboard Args: env: eval_id: fetch_parameter: lam
surreal/env/monitor.py:165
Method
__init__
(self, env)
surreal/env/dm_wrapper.py:20
Method
__init__
(self, env, max_steps)
surreal/env/wrapper.py:146
Method
__init__
(self, env, env_config)
surreal/env/wrapper.py:166
Method
__init__
(self, env, env_config)
surreal/env/wrapper.py:217
Method
__init__
(self, env, concatenated_obs_name='flat_inputs')
surreal/env/wrapper.py:295
Method
__init__
(self, env)
surreal/env/wrapper.py:337
Method
__init__
(self, env)
surreal/env/wrapper.py:367
Method
__init__
(self, env, env_config)
surreal/env/wrapper.py:408
Method
__init__
(self, env, env_config)
surreal/env/wrapper.py:479
Method
__init__
Sample initial states by taking random number of no-ops on reset. No-op is assumed to be action 0.
surreal/env/atari_wrappers_deprecated.py:10
Method
__init__
For environments where the user need to press FIRE for the game to start.
surreal/env/atari_wrappers_deprecated.py:36
Method
__init__
Make end-of-life == end-of-episode, but only reset on true game over. Done by DeepMind for the DQN and co. since it helps value estimation.
surreal/env/atari_wrappers_deprecated.py:54
Method
__init__
Return only every `skip`-th frame
surreal/env/atari_wrappers_deprecated.py:94
Method
__init__
(self, env, mode='pytorch')
surreal/env/atari_wrappers_deprecated.py:124
Method
__init__
Stack k last frames. Returns lazy array, which is much more memory efficient. See Also -------- baselines.common.ata
surreal/env/atari_wrappers_deprecated.py:177
Method
__init__
(self, env)
surreal/env/atari_wrappers_deprecated.py:230
Method
__init__
Sample initial states by taking random number of no-ops on reset. No-op is assumed to be action 0.
surreal/env/atari_wrappers.py:15
Method
__init__
Take action on reset for environments that are fixed until firing.
surreal/env/atari_wrappers.py:45
Method
__init__
Make end-of-life == end-of-episode, but only reset on true game over. Done by DeepMind for the DQN and co. since it helps value estimation.
surreal/env/atari_wrappers.py:62
Method
__init__
Return only every `skip`-th frame
surreal/env/atari_wrappers.py:98
Method
__init__
This object ensures that common frames between the observations are only stored once. It exists purely to optimize memory usage which can be h
surreal/env/atari_wrappers.py:199
Method
__init__
(self, env, learner_config, session_config)
surreal/env/exp_sender_wrapper.py:42
Method
__init__
(self, env, learner_config, session_config)
surreal/env/exp_sender_wrapper.py:89
Method
__init__
Consturctor for ExpSenderWrapperMultiStepMovingWindowWithInfo class Important Attributes: _ob: holds the state at current
surreal/env/exp_sender_wrapper.py:178
Method
__init__
(self, env, learner_config, session_config)
surreal/env/exp_sender_wrapper.py:285
Method
__init__
Constructor for VideoWrapper. also creates the save directory if not present Args: env (Env): environment to be wrapped
surreal/env/video_env.py:59
Method
__init__
(self, config)
surreal/env/mujocomanip/mujocomanip_envs.py:14
Method
__init__
(self, config)
surreal/env/mujocomanip/mujocomanip_envs.py:22
Method
__init__
(self, learner_config, env_config, session_config,
surreal/replay/fifo_replay.py:14
Method
__init__
(self, *args, sampling_start_size, **kwargs)
surreal/replay/dummy_replay.py:7
Method
__init__
(self, capacity)
surreal/replay/segment_tree.py:90
Method
__init__
(self, capacity)
surreal/replay/segment_tree.py:128
Method
__init__
surreal/replay/base.py:15
Method
__init__
(self)
surreal/replay/sharded_replay.py:8
Method
__init__
Args: *_config: passed on to replay
surreal/replay/sharded_replay.py:43
Method
__init__
Create Prioritized Replay buffer. :param size: int Max number of transitions to store in the buffer. When the buffer
surreal/replay/prioritized_replay.py:11
Method
__init__
Args: memory_size: Max number of experience to store in the buffer. When the buffer overflows the old memories are drop
surreal/replay/uniform_replay.py:7
Method
__init__
(self, learner_config, env_config, session_config)
surreal/learner/ddpg.py:53
Method
__init__
(self, frame_stacks)
surreal/learner/aggregator.py:16
Method
__init__
(self, obs_spec, action_spec)
surreal/learner/aggregator.py:45
Method
__init__
(self, obs_spec, action_spec)
surreal/learner/aggregator.py:144
Method
__init__
(self, obs_spec, action_spec, gamma)
surreal/learner/aggregator.py:277
Method
__init__
Initializes the learner instance Args: learner_config, env_config, session_config: configs that define a
surreal/learner/base.py:27
Method
__init__
(self, learner_config, env_config, session_config)
surreal/learner/ppo.py:57
Method
__init__
(self, learner_config, env_config, session_config)
surreal/learner/dqn.py:10
Method
__init__
(self)
surreal/subproc/surreal_subproc.py:34
Method
__init__
(self, mu, sigma)
surreal/agent/action_noise.py:10
Method
__init__
(self, mu, sigma, theta, dt, x0=None)
surreal/agent/action_noise.py:23
Method
__init__
(self, sigma)
surreal/agent/param_noise.py:10
Method
__init__
(self, model_copy, module_dict_copy, target_stddev, compute_dist_interval=10, alpha=1.04, sigma=0.01)
surreal/agent/param_noise.py:31
Method
__init__
Initialize the agent class,
surreal/agent/base.py:32
Method
__init__
(self, learner_config, env_config, session_config,
surreal/agent/ppo_agent.py:27
Method
__init__
Constructor for DDPGAgent class. Important attributes: learner_config, env_config, session_config: experiment configurati
surreal/agent/ddpg_agent.py:39
Method
__init__
(self, learner_config, env_config, session_config,
surreal/agent/q_agent.py:13
Method
__init__
(self)
test-old/test_checkpoint.py:29
Method
__init__
(self, restore=False)
test-old/test_checkpoint.py:50
Method
__init__
(self)
test-old/test_gpu.py:34
Method
__init__
(self)
test-old/test_gpu.py:51
Method
__init__
(self)
test-old/test_redis.py:6
Method
__len__
(self)
surreal/replay/fifo_replay.py:47
Method
__len__
(self)
surreal/replay/base.py:108
Method
__len__
(self)
surreal/replay/prioritized_replay.py:169
Method
__len__
(self)
surreal/replay/uniform_replay.py:73
Method
__new__
(cls, *args, **kwargs)
surreal/env/base.py:57
Method
__repr__
(self)
surreal/env/wrapper.py:80
Method
__repr__
(self)
surreal/agent/action_noise.py:17
Method
__repr__
(self)
surreal/agent/action_noise.py:39
Method
__repr__
(self)
surreal/agent/param_noise.py:26
Method
__repr__
(self)
surreal/agent/param_noise.py:73
Method
__setattr__
(self, name, value)
surreal/session/config.py:168
Method
__str__
(self)
surreal/env/base.py:139
Method
__str__
(self)
surreal/env/wrapper.py:77
Function
_check_enum
Specify required enum, syntax "_enum[option1, option2, ..]_" All options are case insensitive.
surreal/session/config.py:15
Method
_close
(self)
surreal/env/dm_wrapper.py:67
Method
_close
(self)
surreal/env/wrapper.py:67
Method
_close
(self)
surreal/env/wrapper.py:205
Method
_close
(self)
surreal/env/wrapper.py:266
Function
_deprecated
(*args, **kwargs)
surreal/utils/common.py:358
Method
_evict_loop
(self)
surreal/replay/base.py:179
Method
_format_action_invocation
(self, action)
surreal/utils/common.py:442
Method
_handle_agent_request
Reply to agents' request for parameters Args: request: 3 types - "info": (None, info) - "p
surreal/distributed/parameter_server.py:181
Method
_initialize
For AutoInitializeMeta interface
surreal/learner/base.py:117
Method
_insert_wrapper
Allows us to do some book keeping in the base class
surreal/replay/base.py:148
Function
_merge_setting_dictionaries
(customize, base)
surreal/subproc/surreal_subproc.py:21
Function
_merge_setting_dictionaries
(customize, base)
surreal/tmux/surreal_tmux.py:15
Method
_observation
(self, obs)
surreal/env/atari_wrappers_deprecated.py:129
Method
_observation
(self, obs)
surreal/env/atari_wrappers_deprecated.py:209
Method
_observation
(self, observation)
surreal/env/atari_wrappers.py:192
Method
_prefetcher_preprocess
If frame_stack_preprocess is not set, each experience in the replay will be stored as a list of frames, as opposed to a single numpy
surreal/learner/ddpg.py:431
Method
_prefetcher_preprocess
This function processes the list of experience retrieved from replay It happens in a different process from learner's main process
surreal/learner/base.py:329
Method
_prefetcher_preprocess
(self, batch)
surreal/learner/ppo.py:680
Method
_preprocess_loop
(self)
surreal/distributed/data_fetcher.py:53
Method
_process_experiment_name
experiment_name will be used as DNS, so must not have underscore or dot
surreal/kube/surreal_kube.py:176
Method
_put
(self, _, data)
surreal/distributed/data_fetcher.py:60
← previous
next →
401–500 of 791, ranked by callers