|
bitsim
Model, simulate, estimate and control robots in C++
|
#include "bitrl/base/bitrl_config.h"#include "bitrl/base/bitrl_types.h"#include "bitrl/maths/optimization/pytorch_optimizer_factory.h"#include "bitrl/maths/statistics/distributions/torch_categorical.h"#include "bitrl/rl/algorithms/pg/reinforce.h"#include "bitrl/rl/trainers/rl_serial_agent_trainer.h"#include "bitrl/base/bitrl_log.h"#include "bitrl/envs/gymnasium/classic_control/cart_pole_env.h"#include "bitrl/network/rest_rl_env_client.h"#include "bitsim/utils/io/csv_file_writer.h"#include <torch/torch.h>#include <any>#include <filesystem>#include <fstream>#include <iostream>#include <map>#include <string>#include <unordered_map>
Classes | |
| class | rl_example_13::PolicyNetImpl |
Namespaces | |
| namespace | rl_example_13 |
Typedefs | |
| using | rl_example_13::float_t |
| float | |
| using | rl_example_13::int_t |
| integer type | |
| using | rl_example_13::real_t |
| real_t | |
| typedef torch::Tensor | rl_example_13::torch_tensor_t |
| torch_tensor_t | |
| using | rl_example_13::uint_t |
| uint_t | |
Enumerations | |
| enum class | rl_example_13::DeviceType |
| Enumeration of various device types. More... | |
| enum class | rl_example_13::BaselineEnumType |
| Enumeration of the baseline types supported. More... | |
Functions | |
| rl_example_13::TORCH_MODULE (PolicyNet) | |
| int | main () |
| int main | ( | ) |