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
nodeFeaturesVector<T>Current node features.
aggregatedMessageVector<T>Aggregated message from neighbors.
Returns
- Vector<T>
Updated node features.
Type Parameters
TThe numeric type used for calculations.