Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsObservations
Description
Specifies a new encoding observation. This represents an observation which will be an encoding of another sub-observation using a small neural network.
| Name | SpecifyEncodingObservation |
| Type | function |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsObservations.h |
| Include Path | #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
)
The newly created observation schema element.
Parameters
| Name | Remarks |
|---|---|
| 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. |