Navigation
API > API/Runtime > API/Runtime/NNE > API/Runtime/NNE/INNERuntimeCPU
References
| Module | NNE |
| Header | /Engine/Source/Runtime/NNE/Public/NNERuntimeCPU.h |
| Include | #include "NNERuntimeCPU.h" |
TSharedPtr < UE::NNE::IModelCPU > CreateModelCPU
(
const TObjectPtr < UNNEModelData > ModelData
)
Remarks
Create a model given some ModelData.
The caller must make sure ModelData remains valid throughout the call. ModelData is not required anymore after the model has been created. The caller can decide to convert the result into a shared pointer if required (e.g. if the model needs to be shared with an async task for evaluation). A caller owned model representing the neural network created from ModelData.
Parameters
| Name | Description |
|---|---|
| ModelData | The model data for which to create a model. |