Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsActions
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsActions.h |
| Include | #include "LearningAgentsActions.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsActions.cpp |
UFUNCTION (BlueprintPure, Category="LearningAgents", Meta=(AdvancedDisplay=2))
static FLearningAgentsActionSchemaElement SpecifyEncodingAction
(
ULearningAgentsActionSchema * Schema,
const FLearningAgentsActionSchemaElement Element,
const int32 EncodingSize,
const int32 HiddenLayerNum,
const ELearningAgentsActivationFunction ActivationFunction,
const FName Tag
)
Remarks
Specifies a new encoding action. This represents an action which will be a decoding of another sub-action using a small neural network. The newly created action schema element.
Parameters
| Name | Description |
|---|---|
| Schema | The Action Schema |
| Element | The sub-action. |
| EncodingSize | The encoding size used to decode this sub-action. |
| HiddenLayerNum | The number of hidden layers used to decode this sub-action. |
| ActivationFunction | The activation function used to decode this sub-action. |
| Tag | The tag of this new action. Used during action object validation and debugging. |