Navigation
API > API/Runtime > API/Runtime/NNE > API/Runtime/NNE/INNERuntime
References
| Module | NNE |
| Header | /Engine/Source/Runtime/NNE/Public/NNERuntime.h |
| Include | #include "NNERuntime.h" |
TSharedPtr < UE::NNE::FSharedModelData > CreateModelData
(
const FString & FileType,
TConstArrayView64< uint8 > FileData,
const TMap < FString , TConstArrayView64< uint8 > > & AdditionalFileData,
const FGuid & FileId,
const ITargetPlatform * TargetPlatform
)
Remarks
Create model data given some raw file data. A pointer to data representing the runtime specific representation of the model to be stored by UNNEModelData on success or an invalid pointer otherwise.
Parameters
| Name | Description |
|---|---|
| FileType | The type of file inside FileData. Corresponds to the file extension (e.g. 'onnx'). |
| FileData | The raw binary file of a neural network model. |
| AdditionalFileData | Additional raw binary data of the neural network model. |
| FileId | The unique identifier representing FileData. |
| TargetPlatform | The Interface identifying the target platform for which the data needs to be created. A null pointer indicates the currently compiled/running platform. |