Navigation
API > API/Plugins > API/Plugins/LearningTraining
References
| Module | LearningTraining |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningTraining/Public/LearningExperience.h |
| Include | #include "LearningExperience.h" |
Syntax
struct FEpisodeBuffer
Remarks
Buffer storing the observations, actions, and rewards of multiple instances over an episode
Functions
| Type | Name | Description | |
|---|---|---|---|
| const TLearningArrayView< 2, const float > | GetActions
(
const int32 InstanceIdx |
||
| const TLearningArrayView< 2, const float > | |||
| const TLearningArrayView< 1, const int32 > | |||
| const int32 | |||
| const int32 | |||
| const TLearningArrayView< 2, const float > | GetObservations
(
const int32 InstanceIdx |
||
| const TLearningArrayView< 1, const float > | GetRewards
(
const int32 InstanceIdx |
||
| void | Push
(
const TLearningArrayView< 2, const float > InObservations, |
Push new experience to the buffer | |
| void | Reset the buffer for the given set of instances | ||
| void | Resize
(
const int32 InMaxInstanceNum, |
Resize the experience buffer |