|
bitsim
Model, simulate, estimate and control robots in C++
|
Classes | |
| struct | PolicyImpl |
| class | TorchCategorical |
Typedefs | |
| using | real_t |
| real_t | |
| typedef torch::Tensor | torch_tensor_t |
| torch_tensor_t | |
| using | uint_t |
| uint_t | |
Enumerations | |
| enum class | OptimizerType |
| The RenderModeType enum. More... | |
Functions | |
| TORCH_MODULE (Policy) | |
| void | print_probabilities (Policy &policy, const std::string &when) |
Variables | |
| const uint_t | N_SITUATIONS = 2 |
| const uint_t | N_ARMS = 3 |
| const uint_t | BATCH_SIZE = 64 |
| const uint_t | N_UPDATES = 300 |
| const real_t | LEARNING_RATE = 0.01 |
| const real_t | REWARD_NOISE = 0.5 |
| const real_t | MEAN_REWARD [N_SITUATIONS][N_ARMS] = {{0.2, 0.5, 1.0}, {1.0, 0.3, 0.1}} |
| using bitsim::real_t |
| typedef torch::Tensor bitrl::torch_tensor_t |
| using bitsim::uint_t |
|
strong |
The RenderModeType enum.
| void pytorch_policy_network::print_probabilities | ( | Policy & | policy, |
| const std::string & | when ) |
| pytorch_policy_network::TORCH_MODULE | ( | Policy | ) |
| const uint_t pytorch_policy_network::BATCH_SIZE = 64 |
| const real_t pytorch_policy_network::LEARNING_RATE = 0.01 |
| const real_t pytorch_policy_network::MEAN_REWARD[N_SITUATIONS][N_ARMS] = {{0.2, 0.5, 1.0}, {1.0, 0.3, 0.1}} |
| const uint_t pytorch_policy_network::N_ARMS = 3 |
| const uint_t pytorch_policy_network::N_SITUATIONS = 2 |
| const uint_t pytorch_policy_network::N_UPDATES = 300 |
| const real_t pytorch_policy_network::REWARD_NOISE = 0.5 |