Delegate AggregationFunction<T>
- Namespace
- AiDotNet.NeuralNetworks.Layers
- Assembly
- AiDotNet.dll
Defines the aggregation function type for combining messages.
public delegate Vector<T> AggregationFunction<T>(IEnumerable<Vector<T>> messages)
Parameters
messagesIEnumerable<Vector<T>>Collection of messages to aggregate.
Returns
- Vector<T>
The aggregated message.
Type Parameters
TThe numeric type used for calculations.