NeuralNetworkInference

Choose your operating system:

Windows

macOS

Linux

Classes

Name

Description

Public class

FNeuralDataTypeUtils

For a general overview of NeuralNetworkInference (NNI), including documentation and code samples,

Public struct UStruct

FNeuralTensor

For a general overview of NeuralNetworkInference (NNI), including documentation and code samples,

Public class UClass BlueprintType

UNeuralNetwork

Enums

Name

Description

Public enum UEnum

ENeuralDataType

It defines the data type (e.g., float, double, int32).

Public enum UEnum

ENeuralDeviceType

It defines in which device (CPU, GPU) the desired operation (e.g., the neural network inference) is run.

Public enum UEnum

ENeuralSynchronousMode

Whether the operation (e.g., UNeuralNetwork::Run()) will run in the calling thread (Synchronous) or in a background thread (Asynchronous).

Public enum UEnum

ENeuralTensorType

The type of the neural tensor.

Public enum UEnum

ENeuralThreadMode

After an asynchronous operation has finished, whether the callback functions tied to the delegate will be called from the game/main thread (highly recommended) or from any thread (not fully Unreal safe).

Functions

Name Description

Public function

 

ensureMsgf

(
    Network-> IsLoaded,
    TEXT("UNeuralNetwork could not load...,
    * NetworkUAssetFilePath
)

NeuralNetworkInference (NNI) is Unreal Engine's framework for running deep learning and neural network inference.

Public function

 

for

(
    int64 Index
)

Public function

Network

 

Run()

Public function

Network

 

SetInputFromArrayCopy

(
    InArray
)

Public function

Networks wit...

 

SetInputFromArrayCopy

(
    InputArray1,
    1
)

Public function

 

UE_LOG

(
    LogTemp,
    Display,
    TEXT("Input tensor: %s."),
    *Network-> GetInputTensor
)

Public function

 

UE_LOG

(
    LogTemp,
    Display,
    TEXT("Output tensor: %s."),
    *OutputTensor. ToString
)

Variables

Name Description

Public variable

Networks with m...

 

above

Public variable

Running inferen...

 

InArray

Public variable

Running inferen...

 

InputDataPointer

Public variable

Networks with m...

 

inputs

Public variable

Multiple

 

outputs

Public variable

const FNeuralTe...

 

OutputTensor

Public variable

const FNeuralTe...

 

OutputTensor1

Public variable

Networks with m...

 

SetInputFromVoidPointerCopy