Constant¶
- class torchjd.scalarization.Constant(weights)[source]¶
Scalarizerthat combines the input tensor of values with constant, pre-determined weights.- Parameters:
weights (
Tensor) – The weights to apply to the values. Must have the same shape as the values passed at call time.