![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Namespaces | |
| namespace | ModelData |
| namespace | TypesUtils |
Classes | |
| class | FRegistry |
| class | FSharedModelData |
| class | FSymbolicTensorShape |
| struct | FTensorBindingCPU |
| struct | FTensorBindingRDG |
| class | FTensorDesc |
| class | FTensorShape |
| class | IModelCPU |
| class | IModelGPU |
| class | IModelInstanceCPU |
| class | IModelInstanceGPU |
| class | IModelInstanceNPU |
| class | IModelInstanceRDG |
| class | IModelInstanceRunSync |
| class | IModelNPU |
| class | IModelRDG |
Typedefs | |
| using | ERegisterRuntimeStatus = EResultStatus |
| using | EUnregisterRuntimeStatus = EResultStatus |
| typedef FTensorBindingCPU | FTensorBindingGPU |
Enumerations | |
| enum class | EResultStatus : uint8 { Ok = 0 , Fail = 1 } |
Functions | |
| ERegisterRuntimeStatus | RegisterRuntime (TWeakInterfacePtr< INNERuntime > Runtime) |
| EUnregisterRuntimeStatus | UnregisterRuntime (TWeakInterfacePtr< INNERuntime > Runtime) |
| TArray< FString > | GetAllRuntimeNames () |
| TWeakInterfacePtr< INNERuntime > | GetRuntime (const FString &Name) |
| int32 | GetTensorDataTypeSizeInBytes (ENNETensorDataType InType) |
| template<class T > | |
| TWeakInterfacePtr< T > | GetRuntime (const FString &Name) |
| template<class T > | |
| TArray< FString > | GetAllRuntimeNames () |
|
strong |
List and return all registered runtime names.
| TArray< FString > UE::NNE::GetAllRuntimeNames | ( | ) |
List and return all registered runtime names that implement the provided interface.
| NNE_API TWeakInterfacePtr< INNERuntime > UE::NNE::GetRuntime | ( | const FString & | Name | ) |
Find and return a runtime by name.
This function tries to find a runtime by name.
| Name | The name of the runtime. |
| TWeakInterfacePtr< T > UE::NNE::GetRuntime | ( | const FString & | Name | ) |
Find and return a runtime by name and interface.
This function tries to find a runtime by name and casts it to the interface passed as template argument (e.g. INNERuntime, INNERuntimeCPU or INNERuntimeRDG).
| Name | The name of the runtime. |
| int32 NNE_API UE::NNE::GetTensorDataTypeSizeInBytes | ( | ENNETensorDataType | InType | ) |
Return the data size in bytes for a tensor data type.
| InType | the type of the element to consider. |
| NNE_API ERegisterRuntimeStatus UE::NNE::RegisterRuntime | ( | TWeakInterfacePtr< INNERuntime > | Runtime | ) |
Register a runtime to make it accessible to NNE clients.
The caller needs to keep a strong pointer to the runtime object to prevent it from being garbage collected.
| Runtime | A weak interface pointer to the runtime to be registered. |
| NNE_API EUnregisterRuntimeStatus UE::NNE::UnregisterRuntime | ( | TWeakInterfacePtr< INNERuntime > | Runtime | ) |
Unregister a registered runtime.
| Runtime | A weak interface pointer to the runtime to be unregistered. |