Navigation
API > API/Plugins > API/Plugins/LearningTraining > API/Plugins/LearningTraining/FSharedMemoryTrainer
- IExternalTrainer::SendNetwork()
- FSharedMemoryTrainer::SendNetwork()
References
| Module | LearningTraining |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningTraining/Public/LearningExternalTrainer.h |
| Include | #include "LearningExternalTrainer.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningTraining/Private/LearningExternalTrainer.cpp |
virtual ETrainerResponse SendNetwork
(
const int32 NetworkId,
const ULearningNeuralNetworkData & Network,
FRWLock * NetworkLock,
const ELogSetting LogSettings
)
Remarks
Wait for the trainer to be ready and push the current policy network. Trainer response
Parameters
| Name | Description |
|---|---|
| NetworkId | Unique network id |
| Network | Network to push |
| Timeout | Timeout to wait in seconds |
| NetworkLock | Lock to use when pushing network |
| LogSettings | The log verbosity level |