Navigation
API > API/Plugins > API/Plugins/LearningTraining > API/Plugins/LearningTraining/FReplayBuffer
Description
Alternate way to add data from records generated via imitation learning. Does the resizing needed.
Putting this in place until we have more time later to rewrite how imitation learning stores data. At this time, it seems logical to have the data records be implemented in terms of EpisodeBuffer(s), in which case this method may no longer be needed.
| Name | AddRecords |
| Type | function |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/LearningTraining/Public/LearningExperience.h |
| Include Path | #include "LearningExperience.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningTraining/Private/LearningExperience.cpp |
void AddRecords
(
const int32 InEpisodeNum,
const int32 InMaxStepNum,
const int32 ObservationSchemaId,
const int32 ObservationNum,
const int32 ActionSchemaId,
const int32 ActionNum,
const TLearningArrayView< 1, const int32 > RecordedEpisodeStarts,
const TLearningArrayView< 1, const int32 > RecordedEpisodeLengths,
const TLearningArrayView< 2, const float > RecordedObservations,
const TLearningArrayView< 2, const float > RecordedActions
)