Navigation
API > API/Runtime > API/Runtime/Engine
Struct with all the settings we want in UNeuralProfile, separate to make it easer to pass this data around in the engine.
| Name | FNeuralProfileStruct |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/NeuralProfile.h |
| Include Path | #include "Engine/NeuralProfile.h" |
Syntax
USTRUCT (BlueprintType )
struct FNeuralProfileStruct
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNeuralProfileStruct() |
Engine/NeuralProfile.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers | ||
|---|---|---|---|---|---|---|
| BatchSizeOverride | int32 | Used to override the batch size if the batch dimension is dynamic (-1) | Engine/NeuralProfile.h |
|
||
| InputDimension | FIntVector4 | Input dimension of the NNEModelData model | Engine/NeuralProfile.h |
|
||
| InputFormat | ENeuralProfileFormat | Define the expected input format, if any output from material is not this format, a custom conversion will be applied for this conversion. | Engine/NeuralProfile.h |
|
||
| NNEModelData | TObjectPtr< UObject > | Stores the NNEModelData imported from e.g., onnx model | Engine/NeuralProfile.h |
|
||
| OutputDimension | FIntVector4 | Output dimension of the NNEModelData model | Engine/NeuralProfile.h |
|
||
| OutputFormat | ENeuralProfileFormat | Define the expected output format. | Engine/NeuralProfile.h |
|
||
| RuntimeType | ENeuralProfileRuntimeType | Runtime type (support "NNERuntimeORTDml" only at this moment) | Engine/NeuralProfile.h |
|
||
| TileOverlap | FIntPoint | Tile border overlaps (Left | Right, Top | Bottom). | Engine/NeuralProfile.h |
|
| TileOverlapResolveType | ETileOverlapResolveType | Engine/NeuralProfile.h |
|
|||
| TileSize | ENeuralModelTileType | Total tiles used. Each tile will be executed by 1 batch | Engine/NeuralProfile.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Invalidate() |
Engine/NeuralProfile.h |