Navigation
API > API/Plugins > API/Plugins/LearningAgents
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDataAsset
- ULearningAgentsNeuralNetwork
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsNeuralNetwork.h |
| Include | #include "LearningAgentsNeuralNetwork.h" |
Syntax
UCLASS&40;BlueprintType&41;
class ULearningAgentsNeuralNetwork : public UDataAsset
Remarks
A neural network data asset.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< UE::Learning::FNeuralNetwork > | NeuralNetwork | Pointer to the internal Neural Network Data |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| These constructors/destructors are needed to make forward declarations happy. | |||
ULearningAgentsNeuralNetwork
(
FVTableHelper& Helper |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Marks this asset as modified even during PIE | ||
| void | LoadNetworkFromAsset
(
ULearningAgentsNeuralNetwork* NeuralNetworkAsset |
Copy another asset's network weights into this network. Network sizes must match. | |
| void | LoadNetworkFromSnapshot
(
const FFilePath& File |
Load this network from a snapshot. | |
| void | ResetNetwork () |
Resets this network asset to be empty. | |
| void | SaveNetworkToAsset
(
ULearningAgentsNeuralNetwork* NeuralNetworkAsset |
Copy this network's weights to another asset. Network sizes must match. | |
| void | SaveNetworkToSnapshot
(
const FFilePath& File |
Save this network into a snapshot. |