Navigation
API > API/Plugins > API/Plugins/LearningTraining > API/Plugins/LearningTraining/FSocketPPOTrainer
References
| Module | LearningTraining |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningTraining/Public/LearningPPOTrainer.h |
| Include | #include "LearningPPOTrainer.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningTraining/Private/LearningPPOTrainer.cpp |
FSocketPPOTrainer
&40;
ETrainerResponse & OutResponse,
const FString & TaskName,
const FReplayBuffer & ReplayBuffer,
const TCHAR &42; IpAddress,
const uint32 Port,
const float Timeout,
const FPPOTrainerTrainingSettings & TrainingSettings,
const FPPOTrainerNetworkSettings & NetworkSettings,
const EPPOTrainerFlags TrainerFlags
&41;
Remarks
Creates a new Socket PPO trainer
Parameters
| Name | Description |
|---|---|
| OutResponse | Response to the initial connection |
| TaskName | Name of the training task - used to help identify the logs, snapshots, and other files generated by training |
| ReplayBuffer | Replay buffer used to collect experience |
| IpAddress | Server Ip address |
| Port | Server Port |
| Timeout | Timeout to wait in seconds for connection and initial data transfer |
| TrainingSettings | Trainer Training settings |
| NetworkSettings | Trainer Network settings |
| TrainerFlags | Flags for the trainer |