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


Public Member Functions | |
| ActorNetImpl () | |
| torch_tensor_t | forward (torch_tensor_t state) |
| template<typename StateTp> | |
| std::tuple< uint_t, torch_tensor_t > | act (const StateTp &state) |
| ActorNetImpl () | |
| std::pair< torch::Tensor, torch::Tensor > | forward (torch_tensor_t state) |
| template<typename StateTp> | |
| std::tuple< std::vector< real_t >, torch_tensor_t > | act (const StateTp &state) |
| std::tuple< torch_tensor_t, torch_tensor_t, torch_tensor_t > | evaluate (torch_tensor_t states, torch_tensor_t actions) |
| ActorNetImpl (uint_t state_size, uint_t action_size) | |
| torch_tensor_t | forward (torch_tensor_t state) |
| torch_tensor_t | log_probabilities (torch_tensor_t actions) |
| torch_tensor_t | sample () |
| rl_example_11::ActorNetImpl::ActorNetImpl | ( | ) |
| rl_example_11::ActorNetImpl::ActorNetImpl | ( | ) |
| std::tuple< uint_t, torch_tensor_t > rl_example_11::ActorNetImpl::act | ( | const StateTp & | state | ) |
| std::tuple< std::vector< real_t >, torch_tensor_t > rl_example_11::ActorNetImpl::act | ( | const StateTp & | state | ) |
| std::tuple< torch_tensor_t, torch_tensor_t, torch_tensor_t > rl_example_11::ActorNetImpl::evaluate | ( | torch_tensor_t | states, |
| torch_tensor_t | actions ) |
Evaluate the actor
| states | // |
| actions |
| torch_tensor_t rl_example_11::ActorNetImpl::forward | ( | torch_tensor_t | state | ) |
| std::pair< torch::Tensor, torch::Tensor > rl_example_11::ActorNetImpl::forward | ( | torch_tensor_t | state | ) |
| torch_tensor_t rl_example_11::ActorNetImpl::forward | ( | torch_tensor_t | state | ) |
| torch_tensor_t rl_example_11::ActorNetImpl::log_probabilities | ( | torch_tensor_t | actions | ) |
| torch_tensor_t rl_example_11::ActorNetImpl::sample | ( | ) |