UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
NNERuntimeNPU.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "NNERuntimeRunSync.h"
6#include "NNEStatus.h"
7#include "UObject/Interface.h"
8
9#include "NNERuntimeNPU.generated.h"
10
11class UNNEModelData;
12
13namespace UE::NNE
14{
15
25
32{
33public:
34
35 virtual ~IModelNPU() = default;
36
46};
47
48} // UE::NNE
49
50UINTERFACE(MinimalAPI)
55
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UINTERFACE(...)
Definition ObjectMacros.h:780
Definition NNERuntimeNPU.h:62
virtual ECanCreateModelNPUStatus CanCreateModelNPU(const TObjectPtr< UNNEModelData > ModelData) const =0
virtual TSharedPtr< UE::NNE::IModelNPU > CreateModelNPU(const TObjectPtr< UNNEModelData > ModelData)=0
Definition SharedPointer.h:692
Definition NNERuntimeNPU.h:23
Definition NNERuntimeRunSync.h:31
Definition NNERuntimeNPU.h:32
virtual ~IModelNPU()=default
virtual TSharedPtr< UE::NNE::IModelInstanceNPU > CreateModelInstanceNPU()=0
Definition Interface.h:19
Definition NNEModelData.h:74
Definition NNERuntimeNPU.h:52
Definition NNE.cpp:12
EResultStatus
Definition NNEStatus.h:11
Definition ObjectPtr.h:488