bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
export_policy::PolicyNetworkImpl Struct Reference
Inheritance diagram for export_policy::PolicyNetworkImpl:
Collaboration diagram for export_policy::PolicyNetworkImpl:

Public Member Functions

 PolicyNetworkImpl ()
torch_tensor_t forward (torch_tensor_t states)
uint_t act (uint_t state)

Public Attributes

torch::nn::Linear hidden
torch::nn::Linear out

Constructor & Destructor Documentation

◆ PolicyNetworkImpl()

export_policy::PolicyNetworkImpl::PolicyNetworkImpl ( )
inline

Member Function Documentation

◆ act()

uint_t export_policy::PolicyNetworkImpl::act ( uint_t state)
inline

◆ forward()

torch_tensor_t export_policy::PolicyNetworkImpl::forward ( torch_tensor_t states)
inline

Member Data Documentation

◆ hidden

torch::nn::Linear export_policy::PolicyNetworkImpl::hidden

◆ out

torch::nn::Linear export_policy::PolicyNetworkImpl::out

The documentation for this struct was generated from the following file: