Navigation
API > API/Plugins > API/Plugins/Learning
Neural-network based function object.
| Name | FNeuralNetworkFunction |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/Learning/Public/LearningNeuralNetwork.h |
| Include Path | #include "LearningNeuralNetwork.h" |
Syntax
struct FNeuralNetworkFunction
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNeuralNetworkFunction
(
const int32 InMaxInstanceNum, |
Constructs a Neural Network Function from the given Neural Network | LearningNeuralNetwork.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EvaluationLock | FRWLock | LearningNeuralNetwork.h | ||
| InferenceSettings | FNeuralNetworkInferenceSettings | LearningNeuralNetwork.h | ||
| InputBuffer | TLearningArray< 2, float > | LearningNeuralNetwork.h | ||
| MaxInstanceNum | int32 | LearningNeuralNetwork.h | ||
| NeuralNetwork | TSharedPtr< FNeuralNetwork > | LearningNeuralNetwork.h | ||
| NeuralNetworkInference | TSharedPtr< FNeuralNetworkInference > | LearningNeuralNetwork.h | ||
| OutputBuffer | TLearningArray< 2, float > | LearningNeuralNetwork.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Evaluate this network for the given instances. | LearningNeuralNetwork.h | ||
const TSharedPtr< FNeuralNetwork > & GetNeuralNetwork() |
Gets the NeuralNetwork associated with this function | LearningNeuralNetwork.h | |
void UpdateNeuralNetwork
(
const TSharedPtr< FNeuralNetwork >& NewNeuralNetwork |
Sets the NeuralNetwork and re-creates the NeuralNetworkInference object. | LearningNeuralNetwork.h |