Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsPolicy
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsPolicy.h |
| Include | #include "LearningAgentsPolicy.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsPolicy.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"LearningAgents", Meta&61;&40;DevelopmentOnly&41;&41;
void SavePolicyToAsset
&40;
ULearningAgentsNeuralNetwork &42; NeuralNetworkAsset
&41;
Remarks
Save this policy's weights to a ULearningAgentsNeuralNetwork asset.
Parameters
| Name | Description |
|---|---|
| NeuralNetworkAsset | The asset to save to. |