Table of Contents

Delegate UpdateFunction<T>

Namespace
AiDotNet.NeuralNetworks.Layers
Assembly
AiDotNet.dll

Defines the update function type for updating node features.

public delegate Vector<T> UpdateFunction<T>(Vector<T> nodeFeatures, Vector<T> aggregatedMessage)

Parameters

nodeFeatures Vector<T>

Current node features.

aggregatedMessage Vector<T>

Aggregated message from neighbors.

Returns

Vector<T>

Updated node features.

Type Parameters

T

The numeric type used for calculations.