MCPcopy Create free account

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

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

↓ 1 callersMethodinfo_dict
(self)
network/user_equipment.py:246
↓ 1 callersMethodinsert
(self, obs, cent_obs, reward, done, values, actions, action_log_probs, rnn_states, rnn_states_
trainers/mappo_trainer.py:526
↓ 1 callersMethodinsert
(self, x)
agents/mappo/nn/util.py:27
↓ 1 callersMethodinsert_buffer
(self, record)
network/base_station.py:511
↓ 1 callersFunctionis_plain_type
(x)
agents/option-critic/utils/misc.py:65
↓ 1 callersFunctionlinear_schedule
(start_e: float, end_e: float, duration: int, t: int)
trainers/dqn_trainer.py:51
↓ 1 callersMethodload
Load policy's networks from a saved model.
trainers/mappo_trainer.py:566
↓ 1 callersMethodload
(self, model_dir, version='')
agents/mappo/policy.py:104
↓ 1 callersMethodload_results
(self, dirs, **kwargs)
agents/option-critic/utils/plot.py:33
↓ 1 callersMethodlr_decay
Decay the actor and critic learning rates. :param episode: (int) current training episode. :param episodes: (int) total numbe
trainers/mappo_trainer.py:262
↓ 1 callersFunctionmain
(args)
train.py:58
↓ 1 callersFunctionmake_env
(args, seed=None)
simulate.py:56
↓ 1 callersFunctionmake_env
(env_id, seed, rank, episode_life=True)
agents/option-critic/component/envs.py:27
↓ 1 callersMethodmeasure_distances_and_gains
(self, ue)
network/network.py:233
↓ 1 callersMethodmerge
(self, config_dict=None)
agents/option-critic/utils/config.py:84
↓ 1 callersFunctionmkdir
(path)
agents/option-critic/utils/misc.py:46
↓ 1 callersMethodnaive_recurrent_generator
Yield training data for non-chunked RNN training. :param advantages: (np.ndarray) advantage estimates. :param num_mini_batch:
trainers/utils/shared_buffer.py:290
↓ 1 callersMethodneighbor_dist
(self, bs_id)
network/base_station.py:294
↓ 1 callersMethodobserve_mutual
(self, bs: 'BaseStation')
network/base_station.py:552
↓ 1 callersMethodobserve_network
(self)
network/network.py:264
↓ 1 callersFunctionparse_np_series
(s)
analysis/benchmark.py:210
↓ 1 callersFunctionparse_np_series
(s, **kwds)
analysis/stats.py:22
↓ 1 callersFunctionparse_numpy
(x)
analysis/stats.py:19
↓ 1 callersMethodplaceholder
(self)
agents/option-critic/component/replay.py:38
↓ 1 callersMethodplot_median_std
(self, data, x=None, **kwargs)
agents/option-critic/utils/plot.py:124
↓ 1 callersMethodppo_update
Update actor and critic networks. :param sample: (Tuple) contains data batch with which to update networks. :update_actor: (b
trainers/mappo_trainer.py:310
↓ 1 callersMethodprep_training
(self)
agents/mappo/policy.py:115
↓ 1 callersMethodprint_info
(self)
env/environment.py:103
↓ 1 callersMethodquit
(self)
network/user_equipment.py:205
↓ 1 callersFunctionrand_act
(net)
analysis/sinr.py:17
↓ 1 callersFunctionrandom_seed
(seed=None)
agents/option-critic/utils/torch_utils.py:36
↓ 1 callersFunctionrange_tensor
(end)
agents/option-critic/utils/torch_utils.py:28
↓ 1 callersFunctionread_flows
(cell_id, min_num_flows=62*24, min_flow_size=128)
data/agg_traffic.py:61
↓ 1 callersMethodrecord_online_return
(self, info, offset=0)
agents/option-critic/agent/BaseAgent.py:65
↓ 1 callersMethodrecurrent_generator
Yield training data for chunked RNN training. :param advantages: (np.ndarray) advantage estimates. :param num_mini_batch: (in
trainers/utils/shared_buffer.py:387
↓ 1 callersMethodremove_user
(self, ue_id)
network/network.py:216
↓ 1 callersFunctionrender_data_rates
(net, info, frame, last_frame=[], ws=300)
visualize/render.py:213
↓ 1 callersFunctionrender_penalties
(net, info, frame, last_frame=[], ws=300)
visualize/render.py:237
↓ 1 callersFunctionrender_ues
(net, frame)
visualize/render.py:128
↓ 1 callersMethodrequest_connection
(self)
network/user_equipment.py:188
↓ 1 callersMethodreset
(self)
network/network.py:68
↓ 1 callersMethodreset
(self)
network/base_station.py:89
↓ 1 callersMethodreset
(self)
agents/option-critic/component/replay.py:44
↓ 1 callersMethodreset_actor_rnn_state
(self)
agents/mappo/policy.py:155
↓ 1 callersMethodreset_noise
(self)
agents/option-critic/network/network_bodies.py:65
↓ 1 callersMethodreset_noise
(self)
agents/option-critic/network/network_utils.py:73
↓ 1 callersMethodreset_parameters
(self)
trainers/utils/valuenorm.py:27
↓ 1 callersMethodreset_parameters
(self)
agents/mappo/nn/popart.py:31
↓ 1 callersMethodreset_parameters
(self)
agents/option-critic/network/network_utils.py:64
↓ 1 callersMethodreset_stats
(self)
network/network.py:86
↓ 1 callersMethodrespond_connection_request
(self, ue)
network/base_station.py:321
↓ 1 callersMethodrun
(self)
agents/option-critic/agent/BaseAgent.py:123
↓ 1 callersMethodsample_option
(self, prediction, epsilon, prev_option, is_intial_states)
agents/option-critic/agent/OptionCritic_agent.py:16
↓ 1 callersMethodsave
(self, save_dir, version='')
agents/mappo/policy.py:99
↓ 1 callersMethodsave
(self, filename)
agents/option-critic/agent/BaseAgent.py:27
↓ 1 callersMethodsave_stats
(self, save_dir)
network/network.py:342
↓ 1 callersMethodscan_connections
(self)
network/network.py:227
↓ 1 callersMethodset_action
(self, bs_id, action)
network/network.py:257
↓ 1 callersFunctionsimulate
()
simulate.py:152
↓ 1 callersMethodstep
(self)
agents/option-critic/agent/BaseAgent.py:151
↓ 1 callersMethodstep_async
Tell all the environments to start taking a step with the given actions. Call step_wait() to get the results of the step.
env/env_wrappers.py:65
↓ 1 callersMethodstep_wait
Wait for the step taken with step_async(). Returns (obs, rews, dones, infos): - obs: an array of observations, or a dict of
env/env_wrappers.py:77
↓ 1 callersMethodswitch_antennas
(self, opt)
network/base_station.py:227
↓ 1 callersMethodswitch_connection_mode
Mode 0: disconnect all UEs and refuse new connections Mode 1: refuse new connections Mode 2: accept new connections M
network/base_station.py:271
↓ 1 callersMethodswitch_task
(self)
agents/option-critic/agent/BaseAgent.py:77
↓ 1 callersMethodtake_action
(self, action)
network/base_station.py:219
↓ 1 callersMethodtake_actions
(self, obs)
trainers/dqn_trainer.py:157
↓ 1 callersMethodtest_sinr
Measure SINR over the grid.
network/user_equipment.py:278
↓ 1 callersFunctionto_np
(t)
agents/option-critic/utils/torch_utils.py:32
↓ 1 callersMethodtrain_one_episode
Perform a training update using minibatch GD. :param buffer: (SharedReplayBuffer) buffer containing training data. :param upd
trainers/mappo_trainer.py:387
↓ 1 callersMethodupdate_connections
(self)
network/base_station.py:433
↓ 1 callersMethodupdate_priorities
(self, info)
agents/option-critic/component/replay.py:148
↓ 1 callersMethodupdate_sleep
(self, dt)
network/base_station.py:403
↓ 1 callersMethodupdate_stats
(self)
network/network.py:97
↓ 1 callersMethodupdate_stats
(self)
network/base_station.py:122
↓ 1 callersMethodupdate_timer
(self, dt)
network/network.py:120
↓ 1 callersMethodupdate_timer
(self, dt)
network/base_station.py:601
↓ 1 callersMethodvalid_index
(self, index)
agents/option-critic/component/replay.py:105
↓ 1 callersMethodwarmup
(self)
trainers/mappo_trainer.py:495
↓ 1 callersMethodzero
(self)
agents/option-critic/utils/torch_utils.py:155
Method__call__
(self, *args, **kwargs)
utils.py:161
Method__call__
(self, *args, **kwds)
env/env_wrappers.py:28
Method__call__
(self, steps=1)
agents/option-critic/utils/schedule.py:11
Method__call__
(self, steps=1)
agents/option-critic/utils/schedule.py:28
Method__call__
(self, x)
agents/option-critic/utils/normalizer.py:36
Method__call__
(self, x)
agents/option-critic/utils/normalizer.py:58
Method__call__
(self, x)
agents/option-critic/utils/normalizer.py:70
Method__contains__
(self, item)
data/agg_traffic.py:36
Method__enter__
(self)
utils.py:129
Method__eq__
(self, other)
env/multi_discrete.py:46
Method__exit__
(self, *_)
utils.py:132
Method__getitem__
(self, key)
utils.py:176
Method__getitem__
(self, index)
agents/option-critic/utils/misc.py:122
Method__getitem__
(self, i)
agents/option-critic/component/envs.py:112
Method__getstate__
(self)
env/env_wrappers.py:20
Method__init__
(self, name='')
utils.py:126
Method__init__
(self, func)
utils.py:157
Method__init__
(self, traffic_scenario=default_scenario, area=default_area,
network/network.py:35
Method__init__
( self, id, pos, net, ant_power=None, max_antennas=None, frequency=None, bandwidth=No
network/base_station.py:68
Method__init__
(self, pos, service, demand, delay_budget)
network/user_equipment.py:21
← previousnext →201–300 of 683, ranked by callers