Navigation
API > API/Runtime > API/Runtime/NNE
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.
| Name | INNERuntime |
| Type | class |
| Header File | /Engine/Source/Runtime/NNE/Public/NNERuntime.h |
| Include Path | #include "NNERuntime.h" |
Syntax
class INNERuntime
Enums
Public
| Name | Remarks |
|---|---|
| ECanCreateModelDataStatus |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ECanCreateModelDataStatus CanCreateModelData
(
const FString& FileType, |
Check if the runtime is able to create model data given some file data representing a neural network. | NNERuntime.h | |
TSharedPtr< UE::NNE::FSharedModelData > CreateModelData
(
const FString& FileType, |
Create model data given some raw file data. | NNERuntime.h | |
FString GetModelDataIdentifier
(
const FString& FileType, |
Get an id uniquely identifying the model data. | NNERuntime.h | |
FString GetRuntimeName() |
Get the name of the runtime. | NNERuntime.h |