Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/casterkay/Energy-Efficient-5G-RL
/ functions
Functions
683 in github.com/casterkay/Energy-Efficient-5G-RL
⨍
Functions
683
◇
Types & classes
118
↳
Endpoints
2
Method
act
(self, obs, **__)
agents/sleepy.py:19
Method
act
(self, obs, deterministic=True)
agents/dqn.py:79
Method
add
(self, op)
agents/option-critic/utils/torch_utils.py:185
Method
add_histogram
(self, tag, values, step=None, log_level=0)
agents/option-critic/utils/logger.py:66
Method
after_update
(self)
trainers/utils/separated_buffer.py:103
Function
anim_rolling
(func)
visualize/obs.py:6
Function
animate
(env: 'MultiCellNetwork')
visualize/render.py:64
Method
annotate_obs
(cls, obs, trunc=None, keys=config.all_obs_keys)
network/base_station.py:641
Method
arrival_rates
(self)
network/network.py:170
Method
assign
(self, network)
agents/option-critic/utils/torch_utils.py:151
Function
batch_diagonal
(input)
agents/option-critic/utils/torch_utils.py:68
Function
batch_trace
(input)
agents/option-critic/utils/torch_utils.py:84
Method
bs_positions
(self)
network/network.py:159
Function
cache_obs
Cache the observation of the BS, updated every step.
network/env_utils.py:25
Method
cached_property
(func, _C=_cache)
network/user_equipment.py:43
Method
calc_total_stats
(self)
network/base_station.py:617
Method
call
(self, inputs)
analysis/keras-model.py:25
Method
call
(self, inputs)
analysis/keras-model.py:32
Method
call
(self, inputs)
analysis/keras-model.py:39
Method
call
(self, inputs)
analysis/keras-model.py:46
Method
call
(self, inputs)
analysis/keras-model.py:53
Method
call
(self, inputs)
analysis/keras-model.py:60
Method
cdf
(self, action)
agents/option-critic/utils/torch_utils.py:101
Method
cell_traffic_rate
(self)
network/base_station.py:213
Method
channel_gain
(self)
network/user_equipment.py:85
Method
channel_gains
(self)
network/user_equipment.py:68
Function
check
(input)
agents/mappo/nn/util.py:16
Method
chooseafter_update
Copy last timestep data to first index. This method is used for Hanabi.
trainers/utils/shared_buffer.py:163
Method
chooseafter_update
(self)
trainers/utils/separated_buffer.py:114
Function
chooseguardworker
(remote, parent_remote, env_fn_wrapper)
env/env_wrappers.py:568
Method
chooseinsert
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
Method
chooseinsert
(self, cent_obs, obs, rnn_states, rnn_states_critic, actions, action_log_probs, value_pre
trainers/utils/separated_buffer.py:83
Function
choosesimpleworker
(remote, parent_remote, env_fn_wrapper)
env/env_wrappers.py:389
Function
chooseworker
(remote, parent_remote, env_fn_wrapper)
env/env_wrappers.py:483
Method
clone
(self)
agents/option-critic/utils/torch_utils.py:170
Method
close
(self)
env/environment.py:247
Method
close
(self)
env/multi_agent.py:55
Method
close
(self)
env/env_wrappers.py:212
Method
close
(self)
env/env_wrappers.py:269
Method
close
(self)
env/env_wrappers.py:376
Method
close
(self)
env/env_wrappers.py:470
Method
close
(self)
env/env_wrappers.py:555
Method
close
(self)
env/env_wrappers.py:637
Method
close
(self)
env/env_wrappers.py:681
Method
close
(self)
env/env_wrappers.py:728
Method
close
(self)
env/env_wrappers.py:766
Method
close
(self)
env/env_wrappers.py:801
Method
close
(self)
agents/option-critic/component/envs.py:149
Method
close
(self)
agents/option-critic/agent/BaseAgent.py:155
Function
compute_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
Method
compute_returns
(self, next_value, value_normalizer=None)
trainers/utils/separated_buffer.py:120
Method
compute_valid_indices
(self)
agents/option-critic/component/replay.py:69
Method
consume_energy
(self, energy)
network/network.py:254
Method
contains
(self, x)
env/multi_discrete.py:36
Method
covered_idle_ues
(self)
network/base_station.py:177
Method
data_rate
(self)
network/user_equipment.py:112
Function
decorator
(func)
agents/mappo/nn/util.py:46
Method
delay_ratio
Average delay/budget for each app category in the current step.
network/network.py:183
Method
denormalize
(self, input_vector)
agents/mappo/nn/popart.py:88
Method
dict
(self)
agents/option-critic/utils/misc.py:108
Method
distances
(self)
network/user_equipment.py:59
Method
drop_ratio
Average ratio of dropped demand for each app category in the current step.
network/network.py:178
Method
entropy
(self)
agents/mappo/nn/distributions.py:48
Method
entropy
(self)
agents/option-critic/utils/torch_utils.py:116
Function
epsilon_greedy
(epsilon, x)
agents/option-critic/utils/torch_utils.py:51
Function
escape_float
(x)
agents/option-critic/utils/torch_utils.py:209
Method
eval_env
(self)
agents/option-critic/utils/config.py:71
Method
evaluate_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
Method
evaluate_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
Method
feed
(self, data)
agents/option-critic/component/replay.py:75
Method
feed
(self, data)
agents/option-critic/component/replay.py:160
Method
feed
(self, exp)
agents/option-critic/component/replay.py:263
Method
feed_forward_generator
(self, advantages, num_mini_batch=None, mini_batch_size=None)
trainers/utils/separated_buffer.py:164
Method
forward
(self, x)
analysis/keras-model.py:117
Method
forward
Compute actions from given input. :param x: (torch.Tensor) input to network. :return actions: (torch.Tensor) actions to take.
agents/dqn.py:33
Method
forward
(self, x)
agents/mappo/nn/cnn.py:7
Method
forward
(self, x)
agents/mappo/nn/cnn.py:40
Method
forward
(self, x)
agents/mappo/nn/cnn.py:56
Method
forward
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
Method
forward
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
Method
forward
(self, input_vector)
agents/mappo/nn/popart.py:41
Method
forward
(self, x)
agents/mappo/nn/mlp.py:25
Method
forward
(self, x)
agents/mappo/nn/mlp.py:52
Method
forward
(self, x, hxs, masks)
agents/mappo/nn/rnn.py:24
Method
forward
(self, x, available_actions=None)
agents/mappo/nn/distributions.py:64
Method
forward
(self, x)
agents/mappo/nn/distributions.py:82
Method
forward
(self, x)
agents/mappo/nn/distributions.py:103
Method
forward
(self, x)
agents/mappo/nn/distributions.py:112
Method
forward
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
Method
forward
(self, x)
agents/option-critic/network/network_bodies.py:27
Method
forward
(self, x)
agents/option-critic/network/network_bodies.py:43
Method
forward
(self, x)
agents/option-critic/network/network_bodies.py:70
Method
forward
(self, x)
agents/option-critic/network/network_bodies.py:81
Method
forward
(self, x)
agents/option-critic/network/network_heads.py:18
Method
forward
(self, x, to_numpy=False)
agents/option-critic/network/network_heads.py:32
Method
forward
(self, x)
agents/option-critic/network/network_heads.py:49
Method
forward
(self, x)
agents/option-critic/network/network_heads.py:79
Method
forward
(self, x)
agents/option-critic/network/network_heads.py:98
Method
forward
(self, x)
agents/option-critic/network/network_heads.py:116
Method
forward
(self, obs)
agents/option-critic/network/network_heads.py:157
← previous
next →
401–500 of 683, ranked by callers