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 | |
|---|---|---|---|
| int32 | AddActions
(
const FName& Name, |
||
| int32 | AddMemoryStates
(
const FName& Name, |
||
| int32 | AddObservations
(
const FName& Name, |
||
| int32 | AddRewards
(
const FName& Name, |
||
| const TLearningArrayView< 2, const float > | GetActions
(
const int32 ActionId, |
||
| const TLearningArrayView< 1, const int32 > | |||
| int32 | |||
| int32 | |||
| const TLearningArrayView< 2, const float > | GetMemoryStates
(
const int32 MemoryStateId, |
||
| const TLearningArrayView< 2, const float > | GetObservations
(
const int32 ObservationId, |
||
| const TLearningArrayView< 2, const float > | GetRewards
(
const int32 RewardId, |
||
| void | IncrementEpisodeStepNums
(
const FIndexSet Instances |
||
| void | PushActions
(
const int32 ActionId, |
||
| void | PushMemoryStates
(
const int32 MemoryStateId, |
||
| void | PushObservations
(
const int32 ObservationId, |
||
| void | PushRewards
(
const int32 RewardId, |
Convenience overload for pushing rewards from a Training Environment. | |
| void | PushRewards
(
const int32 RewardId, |
||
| void | Reset the buffer for the given set of instances | ||
| void | Resize the experience buffer |