UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::NNE::IModelInstanceNPU Class Reference

#include <NNERuntimeNPU.h>

+ Inheritance diagram for UE::NNE::IModelInstanceNPU:

Additional Inherited Members

- Public Types inherited from UE::NNE::IModelInstanceRunSync
using ESetInputTensorShapesStatus = EResultStatus
 
using ERunSyncStatus = EResultStatus
 
- Public Member Functions inherited from UE::NNE::IModelInstanceRunSync
virtual ~IModelInstanceRunSync ()=default
 
virtual TConstArrayView< FTensorDescGetInputTensorDescs () const =0
 
virtual TConstArrayView< FTensorDescGetOutputTensorDescs () const =0
 
virtual TConstArrayView< FTensorShapeGetInputTensorShapes () const =0
 
virtual TConstArrayView< FTensorShapeGetOutputTensorShapes () const =0
 
virtual ESetInputTensorShapesStatus SetInputTensorShapes (TConstArrayView< FTensorShape > InInputShapes)=0
 
virtual ERunSyncStatus RunSync (TConstArrayView< FTensorBindingCPU > InInputTensors, TConstArrayView< FTensorBindingCPU > InOutputTensors)=0
 

Detailed Description

The interface of a model instance that can run on NPU.

Use UE::NNE::IModelNPU::CreateModelInstance() to get a model instance. Use UE::NNE::GetRuntime<INNERuntimeNPU>(RuntimeName) to get a runtime capable of creating NPU models.


The documentation for this class was generated from the following file: