Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsObservations
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsObservations.h |
| Include | #include "LearningAgentsObservations.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsObservations.cpp |
UFUNCTION (BlueprintPure, Category="LearningAgents", Meta=(AdvancedDisplay=2))
static FLearningAgentsObservationSchemaElement SpecifyEncodingObservation
(
ULearningAgentsObservationSchema * Schema,
const FLearningAgentsObservationSchemaElement Element,
const int32 EncodingSize,
const int32 HiddenLayerNum,
const ELearningAgentsActivationFunction ActivationFunction,
const FName Tag
)
Remarks
Specifies a new encoding observation. This represents an observation which will be an encoding of another sub-observation using a small neural network. The newly created observation schema element.
Parameters
| Name | Description |
|---|---|
| Schema | The Observation Schema |
| Element | The sub-observation to be encoded. |
| EncodingSize | The encoding size used to encode this sub-observation. |
| HiddenLayerNum | The number of hidden layers used to encode this sub-observation. |
| ActivationFunction | The activation function used to encode this sub-observation. |