Navigation
API > API/Runtime > API/Runtime/NNE > API/Runtime/NNE/INNERuntime
Description
Get an id uniquely identifying the model data. This is used by UNNEModelData to create a FCacheKey to get and add the model data from and to a DDC.
| Name | GetModelDataIdentifier |
| Type | function |
| Header File | /Engine/Source/Runtime/NNE/Public/NNERuntime.h |
| Include Path | #include "NNERuntime.h" |
FString GetModelDataIdentifier
(
const FString & FileType,
TConstArrayView64< uint8 > FileData,
const TMap< FString, TConstArrayView64< uint8 > > & AdditionalFileData,
const FGuid & FileId,
const ITargetPlatform * TargetPlatform
) const
A string that identifies the model data uniquely, e.g. by containing the FileId, model data version and target platform display name.
Parameters
| Name | Remarks |
|---|---|
| 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 is produced or by which it will be consumed. A null pointer indicates the currently compiled/running platform. |