Navigation
API > API/Plugins > API/Plugins/NNE > API/Plugins/NNE/UNNEModelData
References
| Module | NNE |
| Header | /Engine/Plugins/Experimental/NNE/Source/NNE/Public/NNEModelData.h |
| Include | #include "NNEModelData.h" |
| Source | /Engine/Plugins/Experimental/NNE/Source/NNE/Private/NNEModelData.cpp |
void Init
&40;
const FString & Type,
TConstArrayView< uint8 > Buffer
&41;
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. |