MCPcopy Create free account

hub / github.com/casterkay/Energy-Efficient-5G-RL / functions

Functions683 in github.com/casterkay/Energy-Efficient-5G-RL

Methodact
(self, obs, **__)
agents/sleepy.py:19
Methodact
(self, obs, deterministic=True)
agents/dqn.py:79
Methodadd
(self, op)
agents/option-critic/utils/torch_utils.py:185
Methodadd_histogram
(self, tag, values, step=None, log_level=0)
agents/option-critic/utils/logger.py:66
Methodafter_update
(self)
trainers/utils/separated_buffer.py:103
Functionanim_rolling
(func)
visualize/obs.py:6
Functionanimate
(env: 'MultiCellNetwork')
visualize/render.py:64
Methodannotate_obs
(cls, obs, trunc=None, keys=config.all_obs_keys)
network/base_station.py:641
Methodarrival_rates
(self)
network/network.py:170
Methodassign
(self, network)
agents/option-critic/utils/torch_utils.py:151
Functionbatch_diagonal
(input)
agents/option-critic/utils/torch_utils.py:68
Functionbatch_trace
(input)
agents/option-critic/utils/torch_utils.py:84
Methodbs_positions
(self)
network/network.py:159
Functioncache_obs
Cache the observation of the BS, updated every step.
network/env_utils.py:25
Methodcached_property
(func, _C=_cache)
network/user_equipment.py:43
Methodcalc_total_stats
(self)
network/base_station.py:617
Methodcall
(self, inputs)
analysis/keras-model.py:25
Methodcall
(self, inputs)
analysis/keras-model.py:32
Methodcall
(self, inputs)
analysis/keras-model.py:39
Methodcall
(self, inputs)
analysis/keras-model.py:46
Methodcall
(self, inputs)
analysis/keras-model.py:53
Methodcall
(self, inputs)
analysis/keras-model.py:60
Methodcdf
(self, action)
agents/option-critic/utils/torch_utils.py:101
Methodcell_traffic_rate
(self)
network/base_station.py:213
Methodchannel_gain
(self)
network/user_equipment.py:85
Methodchannel_gains
(self)
network/user_equipment.py:68
Functioncheck
(input)
agents/mappo/nn/util.py:16
Methodchooseafter_update
Copy last timestep data to first index. This method is used for Hanabi.
trainers/utils/shared_buffer.py:163
Methodchooseafter_update
(self)
trainers/utils/separated_buffer.py:114
Functionchooseguardworker
(remote, parent_remote, env_fn_wrapper)
env/env_wrappers.py:568
Methodchooseinsert
Insert data into the buffer. This insert function is used specifically for Hanabi, which is turn based. :param cent_obs: (argparse.Na
trainers/utils/shared_buffer.py:116
Methodchooseinsert
(self, cent_obs, obs, rnn_states, rnn_states_critic, actions, action_log_probs, value_pre
trainers/utils/separated_buffer.py:83
Functionchoosesimpleworker
(remote, parent_remote, env_fn_wrapper)
env/env_wrappers.py:389
Functionchooseworker
(remote, parent_remote, env_fn_wrapper)
env/env_wrappers.py:483
Methodclone
(self)
agents/option-critic/utils/torch_utils.py:170
Methodclose
(self)
env/environment.py:247
Methodclose
(self)
env/multi_agent.py:55
Methodclose
(self)
env/env_wrappers.py:212
Methodclose
(self)
env/env_wrappers.py:269
Methodclose
(self)
env/env_wrappers.py:376
Methodclose
(self)
env/env_wrappers.py:470
Methodclose
(self)
env/env_wrappers.py:555
Methodclose
(self)
env/env_wrappers.py:637
Methodclose
(self)
env/env_wrappers.py:681
Methodclose
(self)
env/env_wrappers.py:728
Methodclose
(self)
env/env_wrappers.py:766
Methodclose
(self)
env/env_wrappers.py:801
Methodclose
(self)
agents/option-critic/component/envs.py:149
Methodclose
(self)
agents/option-critic/agent/BaseAgent.py:155
Functioncompute_channel_gain_costhata
Compute Cost Hata Path Loss between UE and BS. Ref[1]: https://en.wikipedia.org/wiki/Hata_model Ref[2]: https://en.wikipedia.org/wiki/COS
network/channel.py:18
Methodcompute_returns
(self, next_value, value_normalizer=None)
trainers/utils/separated_buffer.py:120
Methodcompute_valid_indices
(self)
agents/option-critic/component/replay.py:69
Methodconsume_energy
(self, energy)
network/network.py:254
Methodcontains
(self, x)
env/multi_discrete.py:36
Methodcovered_idle_ues
(self)
network/base_station.py:177
Methoddata_rate
(self)
network/user_equipment.py:112
Functiondecorator
(func)
agents/mappo/nn/util.py:46
Methoddelay_ratio
Average delay/budget for each app category in the current step.
network/network.py:183
Methoddenormalize
(self, input_vector)
agents/mappo/nn/popart.py:88
Methoddict
(self)
agents/option-critic/utils/misc.py:108
Methoddistances
(self)
network/user_equipment.py:59
Methoddrop_ratio
Average ratio of dropped demand for each app category in the current step.
network/network.py:178
Methodentropy
(self)
agents/mappo/nn/distributions.py:48
Methodentropy
(self)
agents/option-critic/utils/torch_utils.py:116
Functionepsilon_greedy
(epsilon, x)
agents/option-critic/utils/torch_utils.py:51
Functionescape_float
(x)
agents/option-critic/utils/torch_utils.py:209
Methodeval_env
(self)
agents/option-critic/utils/config.py:71
Methodevaluate_actions
Get action logprobs / entropy and value function predictions for actor update. :param cent_obs (np.ndarray): centralized input to the
agents/mappo/policy.py:74
Methodevaluate_actions
Compute log probability and entropy of given actions. :param obs: (torch.Tensor) observation inputs into network. :param acti
agents/mappo/nn/actor_critic.py:74
Methodfeed
(self, data)
agents/option-critic/component/replay.py:75
Methodfeed
(self, data)
agents/option-critic/component/replay.py:160
Methodfeed
(self, exp)
agents/option-critic/component/replay.py:263
Methodfeed_forward_generator
(self, advantages, num_mini_batch=None, mini_batch_size=None)
trainers/utils/separated_buffer.py:164
Methodforward
(self, x)
analysis/keras-model.py:117
Methodforward
Compute actions from given input. :param x: (torch.Tensor) input to network. :return actions: (torch.Tensor) actions to take.
agents/dqn.py:33
Methodforward
(self, x)
agents/mappo/nn/cnn.py:7
Methodforward
(self, x)
agents/mappo/nn/cnn.py:40
Methodforward
(self, x)
agents/mappo/nn/cnn.py:56
Methodforward
Compute actions from the given inputs. :param obs: (np.ndarray / torch.Tensor) observation inputs into network. :param rnn_st
agents/mappo/nn/actor_critic.py:42
Methodforward
Compute actions from the given inputs. :param cent_obs: (np.ndarray / torch.Tensor) observation inputs into network. :param r
agents/mappo/nn/actor_critic.py:148
Methodforward
(self, input_vector)
agents/mappo/nn/popart.py:41
Methodforward
(self, x)
agents/mappo/nn/mlp.py:25
Methodforward
(self, x)
agents/mappo/nn/mlp.py:52
Methodforward
(self, x, hxs, masks)
agents/mappo/nn/rnn.py:24
Methodforward
(self, x, available_actions=None)
agents/mappo/nn/distributions.py:64
Methodforward
(self, x)
agents/mappo/nn/distributions.py:82
Methodforward
(self, x)
agents/mappo/nn/distributions.py:103
Methodforward
(self, x)
agents/mappo/nn/distributions.py:112
Methodforward
Compute actions and action logprobs from given input. :param x: (torch.Tensor) input to network. :param available_actions: (t
agents/mappo/nn/act.py:44
Methodforward
(self, x)
agents/option-critic/network/network_bodies.py:27
Methodforward
(self, x)
agents/option-critic/network/network_bodies.py:43
Methodforward
(self, x)
agents/option-critic/network/network_bodies.py:70
Methodforward
(self, x)
agents/option-critic/network/network_bodies.py:81
Methodforward
(self, x)
agents/option-critic/network/network_heads.py:18
Methodforward
(self, x, to_numpy=False)
agents/option-critic/network/network_heads.py:32
Methodforward
(self, x)
agents/option-critic/network/network_heads.py:49
Methodforward
(self, x)
agents/option-critic/network/network_heads.py:79
Methodforward
(self, x)
agents/option-critic/network/network_heads.py:98
Methodforward
(self, x)
agents/option-critic/network/network_heads.py:116
Methodforward
(self, obs)
agents/option-critic/network/network_heads.py:157
← previousnext →401–500 of 683, ranked by callers