Navigation
API > API/Plugins > API/Plugins/NNE
References
| Module | NNE |
| Header | /Engine/Plugins/Experimental/NNE/Source/NNE/Public/NNERuntime.h |
| Include | #include "NNERuntime.h" |
Syntax
class INNERuntime
Remarks
The base interface of a neural network runtime. It is returned by UE::NNE::GetAllRuntimes() giving access to all available runtimes.
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 and INNERuntimeRDG on how to create a model given a UNNEModelData asset.
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CanCreateModelData
(
FString FileType, |
Check if the runtime is able to create model data given some file data representing a neural network. | |
| TArray< uint8 > | CreateModelData
(
FString FileType, |
Create model data given some raw file data. | |
| FString | GetModelDataIdentifier
(
FString FileType, |
Get an id uniquely identifying the model data. | |
| FString | Get the name of the runtime. | ||
| bool | IsPlatformSupported
(
const ITargetPlatform* TargetPlatform |
Check if the runtime is supported on a specific platform. |