MCPcopy Create free account

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

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

Methodforward
(self, obs, action=None)
agents/option-critic/network/network_heads.py:198
Methodforward
(self, obs, action=None)
agents/option-critic/network/network_heads.py:240
Methodforward
(self, obs)
agents/option-critic/network/network_heads.py:283
Methodforward
(self, x)
agents/option-critic/network/network_utils.py:54
Methodfull
(self)
agents/option-critic/component/replay.py:145
Methodfull_stats_dir
(self)
env/environment.py:243
Methodget_actor_rnn_state
(self)
agents/mappo/policy.py:152
Methodget_avail_actions
Returns the available actions of all agents in a list.
env/multi_agent.py:39
Methodget_cent_obs
Returns the global state.
env/multi_agent.py:31
Functionget_default_log_dir
(name)
agents/option-critic/utils/misc.py:42
Methodget_env_info
(self)
env/multi_agent.py:65
Methodget_images
Return RGB images from each environment
env/env_wrappers.py:117
Methodget_obs_agent
(self, agent_id)
env/environment.py:157
Methodget_probs
Compute action probabilities from inputs. :param x: (torch.Tensor) input to network. :param available_actions: (torch.Tensor)
agents/mappo/nn/act.py:88
Methodget_ue
(self, id)
network/network.py:190
Methodget_viewer
(self)
env/env_wrappers.py:123
Functionhuber
(x, k=1.0)
agents/option-critic/utils/torch_utils.py:47
Methodinfo_dict
(self, include_bs=False)
network/network.py:287
Methodinfo_dict
(self)
network/base_station.py:606
Methodinit_
(m)
agents/mappo/nn/cnn.py:19
Methodinit_
(m)
agents/mappo/nn/actor_critic.py:138
Methodinit_
(m)
agents/mappo/nn/mlp.py:16
Methodinit_
(m)
agents/mappo/nn/distributions.py:59
Methodinit_
(m)
agents/mappo/nn/distributions.py:76
Methodinit_
(m)
agents/mappo/nn/distributions.py:98
Functioninit_env
()
train.py:41
Methodinsert
Insert data into the buffer. :param cent_obs: (argparse.Namespace) arguments containing relevant model, policy, and env information.
trainers/utils/shared_buffer.py:80
Methodinsert
(self, cent_obs, obs, rnn_states, rnn_states_critic, actions, action_log_probs, value_preds, re
trainers/utils/separated_buffer.py:63
Methodinterference
(self)
network/user_equipment.py:104
Functionlin2dB
(lin)
utils.py:66
Methodload
(self, version='')
trainers/dqn_trainer.py:166
Methodload
Load policy's networks from a saved model.
trainers/trainer.py:58
Methodload
(self, filename)
agents/option-critic/agent/BaseAgent.py:32
Methodload_state_dict
(self, saved)
agents/option-critic/utils/normalizer.py:49
Methodlog_prob
(self, action)
agents/option-critic/utils/torch_utils.py:111
Methodlog_probs
(self, actions)
agents/mappo/nn/distributions.py:18
Methodlog_probs
(self, actions)
agents/mappo/nn/distributions.py:45
Functionmake_anim
(frames=frames)
analysis/sinr.py:121
Functionmake_option_critic_agent
(**kwargs)
agents/option-critic/__init__.py:7
Methodmode
(self)
agents/mappo/nn/distributions.py:27
Methodmode
(self)
agents/mappo/nn/distributions.py:51
Functionmonte_carlo
(N=100)
analysis/sinr.py:23
Methodmul
(self, op)
agents/option-critic/utils/torch_utils.py:173
Functionmulti_agent_wrapper
(policy_class)
agents/base.py:11
Methodnaive_recurrent_generator
(self, advantages, num_mini_batch)
trainers/utils/separated_buffer.py:217
Methodnormalize
(self, input_vector)
agents/mappo/nn/popart.py:78
Methodnum_bs
(self)
network/network.py:151
Methodnum_ue
(self)
network/network.py:155
Methodnum_ue
(self)
network/base_station.py:162
Methodobservation
(self, observation)
agents/option-critic/component/envs.py:87
Methodoperation_pc
(self)
network/base_station.py:195
Functionparse_np_series
(s)
utils.py:77
Methodplot_games
(self, games, **kwargs)
agents/option-critic/utils/plot.py:134
Methodpower_alloc
(self)
network/base_station.py:189
Methodpower_consumption
Power consumption of all BSs in the network in kW.
network/network.py:165
Methodpower_consumption
(self)
network/base_station.py:201
Methodprint_debug_exit
(cls)
utils.py:121
Methodq
(self, obs, a)
agents/option-critic/network/network_heads.py:287
Functionrandom_sample
(indices, batch_size)
agents/option-critic/utils/misc.py:55
Methodrecurrent_generator
(self, advantages, num_mini_batch, data_chunk_length)
trainers/utils/separated_buffer.py:291
Methodreduce_dir
(self, root, tag, ids, score_fn)
agents/option-critic/utils/plot.py:177
Methodreduce_patterns
(self, patterns, root, tag, ids, score_fn)
agents/option-critic/utils/plot.py:199
Functionrender
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
Methodrender
(self, mode="rgb_array")
env/env_wrappers.py:281
Methodrender
(self, mode="rgb_array")
env/env_wrappers.py:458
Methodrender
(self, mode="human")
env/env_wrappers.py:685
Methodrender
(self, mode="human")
env/env_wrappers.py:732
Methodrender
(self, mode="human")
env/env_wrappers.py:770
Methodrender
(self, mode="human")
env/env_wrappers.py:805
Functionrender_cells
(net, frame)
visualize/render.py:153
Methodrequired_rate
(self)
network/user_equipment.py:124
Methodreset
(self, render_mode=None)
env/environment.py:163
Methodreset
Returns initial observations and states.
env/multi_agent.py:51
Methodreset
(self)
env/env_wrappers.py:201
Methodreset
(self)
env/env_wrappers.py:258
Methodreset
(self)
env/env_wrappers.py:364
Methodreset
(self, reset_choose)
env/env_wrappers.py:452
Methodreset
(self, reset_choose)
env/env_wrappers.py:543
Methodreset
(self, reset_choose)
env/env_wrappers.py:626
Methodreset
(self)
env/env_wrappers.py:677
Methodreset
(self)
env/env_wrappers.py:723
Methodreset
(self, reset_choose)
env/env_wrappers.py:760
Methodreset
(self, reset_choose)
env/env_wrappers.py:796
Methodreset
(self)
agents/option-critic/component/envs.py:73
Methodreset
(self)
agents/option-critic/component/envs.py:146
Methodreset_noise
(self)
agents/option-critic/network/network_bodies.py:23
Methodreset_noise
(self)
agents/option-critic/network/network_heads.py:73
Methodreset_noise
(self)
agents/option-critic/network/network_utils.py:19
Methodreset_stats
(self)
network/base_station.py:151
Methodreset_task
(self)
env/env_wrappers.py:207
Methodreset_task
(self)
env/env_wrappers.py:371
Methodreset_task
(self)
env/env_wrappers.py:465
Methodreset_task
(self)
env/env_wrappers.py:550
Methodreset_task
(self)
env/env_wrappers.py:632
Methodresponding
(self)
network/base_station.py:181
Methodrun
(self)
agents/option-critic/component/replay.py:219
Functionrun_steps
(agent)
agents/option-critic/utils/misc.py:19
Methodsample
Returns a array with one sample from each discrete action space
env/multi_discrete.py:30
Methodsample
(self, sample_shape=torch.Size([]))
agents/option-critic/utils/torch_utils.py:121
Methodsample
(self, batch_size=None)
agents/option-critic/component/replay.py:164
← previousnext →501–600 of 683, ranked by callers