Navigation
API > API/Runtime > API/Runtime/NNE > API/Runtime/NNE/UNNEModelData
References
| Module | NNE |
| Header | /Engine/Source/Runtime/NNE/Public/NNEModelData.h |
| Include | #include "NNEModelData.h" |
| Source | /Engine/Source/Runtime/NNE/Private/NNEModelData.cpp |
void Init
(
const FString & Type,
TConstArrayView< uint8 > Buffer,
const TMap< FString, TConstArrayView< uint8 > > & AdditionalBuffers
)
Remarks
Initialize the model data with a copy of the data inside Buffer.
This function is called by the UNNEModelDataFactory class when importing a neural network model file.
Parameters
| Name | Description |
|---|---|
| Type | A string identifying the type of data inside this asset. Corresponds to the extension of the imported file. |
| Buffer | The raw binary file data of the imported model to be copied into this asset. |
| AdditionalBuffers | Additional raw binary data of the model to be copied into this asset. |