|
bitsim
Model, simulate, estimate and control robots in C++
|


Public Member Functions | |
| ActorImpl () | |
| torch_tensor_t | forward (torch_tensor_t states) |
| std::tuple< uint_t, torch_tensor_t > | act (const std::vector< real_t > &state) |
| std::tuple< torch_tensor_t, torch_tensor_t, torch_tensor_t > | evaluate (torch_tensor_t states, torch_tensor_t actions) |
| uint_t | greedy (const std::vector< real_t > &state) |
Public Attributes | |
| torch::nn::Linear | fc1 |
| torch::nn::Linear | fc2 |
| torch::nn::Linear | logits |
|
inline |
|
inline |
|
inline |
|
inline |
| torch::nn::Linear ppo_cartpole::ActorImpl::fc1 |
| torch::nn::Linear ppo_cartpole::ActorImpl::fc2 |
| torch::nn::Linear ppo_cartpole::ActorImpl::logits |