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
forward
(self, obs, action=None)
agents/option-critic/network/network_heads.py:198
Method
forward
(self, obs, action=None)
agents/option-critic/network/network_heads.py:240
Method
forward
(self, obs)
agents/option-critic/network/network_heads.py:283
Method
forward
(self, x)
agents/option-critic/network/network_utils.py:54
Method
full
(self)
agents/option-critic/component/replay.py:145
Method
full_stats_dir
(self)
env/environment.py:243
Method
get_actor_rnn_state
(self)
agents/mappo/policy.py:152
Method
get_avail_actions
Returns the available actions of all agents in a list.
env/multi_agent.py:39
Method
get_cent_obs
Returns the global state.
env/multi_agent.py:31
Function
get_default_log_dir
(name)
agents/option-critic/utils/misc.py:42
Method
get_env_info
(self)
env/multi_agent.py:65
Method
get_images
Return RGB images from each environment
env/env_wrappers.py:117
Method
get_obs_agent
(self, agent_id)
env/environment.py:157
Method
get_probs
Compute action probabilities from inputs. :param x: (torch.Tensor) input to network. :param available_actions: (torch.Tensor)
agents/mappo/nn/act.py:88
Method
get_ue
(self, id)
network/network.py:190
Method
get_viewer
(self)
env/env_wrappers.py:123
Function
huber
(x, k=1.0)
agents/option-critic/utils/torch_utils.py:47
Method
info_dict
(self, include_bs=False)
network/network.py:287
Method
info_dict
(self)
network/base_station.py:606
Method
init_
(m)
agents/mappo/nn/cnn.py:19
Method
init_
(m)
agents/mappo/nn/actor_critic.py:138
Method
init_
(m)
agents/mappo/nn/mlp.py:16
Method
init_
(m)
agents/mappo/nn/distributions.py:59
Method
init_
(m)
agents/mappo/nn/distributions.py:76
Method
init_
(m)
agents/mappo/nn/distributions.py:98
Function
init_env
()
train.py:41
Method
insert
Insert data into the buffer. :param cent_obs: (argparse.Namespace) arguments containing relevant model, policy, and env information.
trainers/utils/shared_buffer.py:80
Method
insert
(self, cent_obs, obs, rnn_states, rnn_states_critic, actions, action_log_probs, value_preds, re
trainers/utils/separated_buffer.py:63
Method
interference
(self)
network/user_equipment.py:104
Function
lin2dB
(lin)
utils.py:66
Method
load
(self, version='')
trainers/dqn_trainer.py:166
Method
load
Load policy's networks from a saved model.
trainers/trainer.py:58
Method
load
(self, filename)
agents/option-critic/agent/BaseAgent.py:32
Method
load_state_dict
(self, saved)
agents/option-critic/utils/normalizer.py:49
Method
log_prob
(self, action)
agents/option-critic/utils/torch_utils.py:111
Method
log_probs
(self, actions)
agents/mappo/nn/distributions.py:18
Method
log_probs
(self, actions)
agents/mappo/nn/distributions.py:45
Function
make_anim
(frames=frames)
analysis/sinr.py:121
Function
make_option_critic_agent
(**kwargs)
agents/option-critic/__init__.py:7
Method
mode
(self)
agents/mappo/nn/distributions.py:27
Method
mode
(self)
agents/mappo/nn/distributions.py:51
Function
monte_carlo
(N=100)
analysis/sinr.py:23
Method
mul
(self, op)
agents/option-critic/utils/torch_utils.py:173
Function
multi_agent_wrapper
(policy_class)
agents/base.py:11
Method
naive_recurrent_generator
(self, advantages, num_mini_batch)
trainers/utils/separated_buffer.py:217
Method
normalize
(self, input_vector)
agents/mappo/nn/popart.py:78
Method
num_bs
(self)
network/network.py:151
Method
num_ue
(self)
network/network.py:155
Method
num_ue
(self)
network/base_station.py:162
Method
observation
(self, observation)
agents/option-critic/component/envs.py:87
Method
operation_pc
(self)
network/base_station.py:195
Function
parse_np_series
(s)
utils.py:77
Method
plot_games
(self, games, **kwargs)
agents/option-critic/utils/plot.py:134
Method
power_alloc
(self)
network/base_station.py:189
Method
power_consumption
Power consumption of all BSs in the network in kW.
network/network.py:165
Method
power_consumption
(self)
network/base_station.py:201
Method
print_debug_exit
(cls)
utils.py:121
Method
q
(self, obs, a)
agents/option-critic/network/network_heads.py:287
Function
random_sample
(indices, batch_size)
agents/option-critic/utils/misc.py:55
Method
recurrent_generator
(self, advantages, num_mini_batch, data_chunk_length)
trainers/utils/separated_buffer.py:291
Method
reduce_dir
(self, root, tag, ids, score_fn)
agents/option-critic/utils/plot.py:177
Method
reduce_patterns
(self, patterns, root, tag, ids, score_fn)
agents/option-critic/utils/plot.py:199
Function
render
Render the environment using Plotly. Render modes: - show: create, store, and show Plotly figure - dash: update Graph in Dash app - f
visualize/render.py:17
Method
render
(self, mode="rgb_array")
env/env_wrappers.py:281
Method
render
(self, mode="rgb_array")
env/env_wrappers.py:458
Method
render
(self, mode="human")
env/env_wrappers.py:685
Method
render
(self, mode="human")
env/env_wrappers.py:732
Method
render
(self, mode="human")
env/env_wrappers.py:770
Method
render
(self, mode="human")
env/env_wrappers.py:805
Function
render_cells
(net, frame)
visualize/render.py:153
Method
required_rate
(self)
network/user_equipment.py:124
Method
reset
(self, render_mode=None)
env/environment.py:163
Method
reset
Returns initial observations and states.
env/multi_agent.py:51
Method
reset
(self)
env/env_wrappers.py:201
Method
reset
(self)
env/env_wrappers.py:258
Method
reset
(self)
env/env_wrappers.py:364
Method
reset
(self, reset_choose)
env/env_wrappers.py:452
Method
reset
(self, reset_choose)
env/env_wrappers.py:543
Method
reset
(self, reset_choose)
env/env_wrappers.py:626
Method
reset
(self)
env/env_wrappers.py:677
Method
reset
(self)
env/env_wrappers.py:723
Method
reset
(self, reset_choose)
env/env_wrappers.py:760
Method
reset
(self, reset_choose)
env/env_wrappers.py:796
Method
reset
(self)
agents/option-critic/component/envs.py:73
Method
reset
(self)
agents/option-critic/component/envs.py:146
Method
reset_noise
(self)
agents/option-critic/network/network_bodies.py:23
Method
reset_noise
(self)
agents/option-critic/network/network_heads.py:73
Method
reset_noise
(self)
agents/option-critic/network/network_utils.py:19
Method
reset_stats
(self)
network/base_station.py:151
Method
reset_task
(self)
env/env_wrappers.py:207
Method
reset_task
(self)
env/env_wrappers.py:371
Method
reset_task
(self)
env/env_wrappers.py:465
Method
reset_task
(self)
env/env_wrappers.py:550
Method
reset_task
(self)
env/env_wrappers.py:632
Method
responding
(self)
network/base_station.py:181
Method
run
(self)
agents/option-critic/component/replay.py:219
Function
run_steps
(agent)
agents/option-critic/utils/misc.py:19
Method
sample
Returns a array with one sample from each discrete action space
env/multi_discrete.py:30
Method
sample
(self, sample_shape=torch.Size([]))
agents/option-critic/utils/torch_utils.py:121
Method
sample
(self, batch_size=None)
agents/option-critic/component/replay.py:164
← previous
next →
501–600 of 683, ranked by callers