Constant¶
- class torchjd.aggregation.Constant(weights)[source]¶
Aggregator
that makes a linear combination of the rows of the provided matrix, with constant, pre-determined weights.- Parameters:
weights (
Tensor
) – The weights associated to the rows of the input matrices.