Navigation
API > API/Runtime > API/Runtime/NNE
References
| Module | NNE |
| Header | /Engine/Source/Runtime/NNE/Public/NNERuntime.h |
| Include | #include "NNERuntime.h" |
Syntax
class INNERuntime
Remarks
The base interface of a neural network runtime.
This interface is mainly used internally by UNNEModelData to cook a model given in a file format (e.g. .onnx) into runtime specific model data. The model data is then stored inside UNNEModelData which then can be used in game to create an inferable model. See INNERuntimeCPU, INNERuntimeGPU and INNERuntimeRDG on how to create a model given a UNNEModelData asset.
Functions
| Type | Name | Description | |
|---|---|---|---|
| ECanCreateModelDataStatus | CanCreateModelData
(
const FString& FileType, |
Check if the runtime is able to create model data given some file data representing a neural network. | |
| TSharedPtr< UE::NNE::FSharedModelData > | CreateModelData
(
const FString& FileType, |
Create model data given some raw file data. | |
| FString | GetModelDataIdentifier
(
const FString& FileType, |
Get an id uniquely identifying the model data. | |
| FString | Get the name of the runtime. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| ECanCreateModelDataStatus |