MCPcopy Create free account

hub / github.com/akazemipour/DIAYN-PyTorch / functions

Functions40 in github.com/akazemipour/DIAYN-PyTorch

↓ 13 callersFunctioninit_weight
(layer, initializer="he normal")
Brain/model.py:8
↓ 3 callersMethod__init__
(self, n_states, n_hidden_filters=256)
Brain/model.py:40
↓ 3 callersMethodlog
(self, *args)
Common/logger.py:45
↓ 2 callersMethodchoose_action
(self, states)
Brain/agent.py:55
↓ 2 callersFunctionconcat_state_latent
(s, z_, n)
main.py:9
↓ 2 callersMethodconcat_state_latent
(s, z_, n)
Common/play.py:22
↓ 2 callersMethodget_rng_state
()
Brain/replay_memory.py:27
↓ 2 callersMethodhard_update_target_network
(self)
Brain/agent.py:145
↓ 2 callersMethodload_weights
(self)
Common/logger.py:111
↓ 2 callersMethodon
(self)
Common/logger.py:38
↓ 2 callersMethodsample_or_likelihood
(self, states)
Brain/model.py:118
↓ 2 callersMethodset_rng_state
(random_rng_state)
Brain/replay_memory.py:31
↓ 1 callersMethod_create_wights_folder
(dir)
Common/logger.py:28
↓ 1 callersMethod_log_params
(self)
Common/logger.py:33
↓ 1 callersMethod_off
(self)
Common/logger.py:42
↓ 1 callersMethod_save_weights
(self, episode, *rng_states)
Common/logger.py:93
↓ 1 callersMethodadd
(self, *transition)
Brain/replay_memory.py:14
↓ 1 callersMethodevaluate
(self)
Common/play.py:27
↓ 1 callersFunctionget_params
()
Common/config.py:4
↓ 1 callersMethodget_rng_states
(self)
Brain/agent.py:149
↓ 1 callersMethodsample
(self, size)
Brain/replay_memory.py:20
↓ 1 callersMethodset_policy_net_to_cpu_mode
(self)
Brain/agent.py:159
↓ 1 callersMethodset_policy_net_to_eval_mode
(self)
Brain/agent.py:156
↓ 1 callersMethodset_rng_states
(self, torch_rng_state, random_rng_state)
Brain/agent.py:152
↓ 1 callersMethodsoft_update_target_network
(self, local_network, target_network)
Brain/agent.py:140
↓ 1 callersMethodstore
(self, state, z, done, action, next_state)
Brain/agent.py:61
↓ 1 callersMethodtrain
(self)
Brain/agent.py:80
↓ 1 callersMethodunpack
(self, batch)
Brain/agent.py:69
Method__init__
(self, env, agent, n_skills)
Common/play.py:11
Method__init__
(self, agent, **config)
Common/logger.py:12
Method__init__
(self, buffer_size, seed)
Brain/replay_memory.py:8
Method__init__
(self, p_z, **config)
Brain/agent.py:11
Method__init__
(self, n_states, n_skills, n_hidden_filters=256)
Brain/model.py:16
Method__init__
(self, n_states, n_actions, n_hidden_filters=256)
Brain/model.py:62
Method__init__
(self, n_states, n_actions, action_bounds, n_hidden_filters=256)
Brain/model.py:86
Method__len__
(self)
Brain/replay_memory.py:23
Methodforward
(self, states)
Brain/model.py:32
Methodforward
(self, states)
Brain/model.py:55
Methodforward
(self, states, actions)
Brain/model.py:78
Methodforward
(self, states)
Brain/model.py:108