Navigation
API > API/Plugins > API/Plugins/Learning
Neural Network Object
| Name | FNeuralNetwork |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/Learning/Public/LearningNeuralNetwork.h |
| Include Path | #include "LearningNeuralNetwork.h" |
Syntax
struct FNeuralNetwork
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InferenceObjects | TArray< TWeakPtr< FNeuralNetworkInference >, TInlineAllocator< 64 > > | LearningNeuralNetwork.h | ||
| InputSize | int32 | LearningNeuralNetwork.h | ||
| Lock | FRWLock | LearningNeuralNetwork.h | ||
| Model | TSharedPtr< NNE::IModelCPU > | LearningNeuralNetwork.h | ||
| OutputSize | int32 | LearningNeuralNetwork.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedRef< FNeuralNetworkInference > CreateInferenceObject
(
const int32 MaxBatchSize, |
Create a new inference object for this network with the given maximum batch size and inference settings. | LearningNeuralNetwork.h | |
int32 GetInputSize() |
LearningNeuralNetwork.h | ||
int32 GetOutputSize() |
LearningNeuralNetwork.h | ||
bool IsEmpty() |
LearningNeuralNetwork.h | ||
void UpdateModel
(
const TSharedPtr< NNE::IModelCPU >& InModel, |
LearningNeuralNetwork.h |