add linear weighting

This commit is contained in:
giovanni
2025-09-05 10:12:09 +02:00
committed by Giovanni Canali
parent 96402baf20
commit ef3542486c
7 changed files with 176 additions and 9 deletions

View File

@@ -253,7 +253,6 @@ Callbacks
Optimizer callback <callback/optimizer_callback.rst>
R3 Refinment callback <callback/refinement/r3_refinement.rst>
Refinment Interface callback <callback/refinement/refinement_interface.rst>
Weighting callback <callback/linear_weight_update_callback.rst>
Losses and Weightings
---------------------
@@ -267,4 +266,5 @@ Losses and Weightings
WeightingInterface <loss/weighting_interface.rst>
ScalarWeighting <loss/scalar_weighting.rst>
NeuralTangentKernelWeighting <loss/ntk_weighting.rst>
SelfAdaptiveWeighting <loss/self_adaptive_weighting.rst>
SelfAdaptiveWeighting <loss/self_adaptive_weighting.rst>
LinearWeighting <loss/linear_weighting.rst>

View File

@@ -0,0 +1,9 @@
LinearWeighting
=============================
.. currentmodule:: pina.loss.linear_weighting
.. automodule:: pina.loss.linear_weighting
.. autoclass:: LinearWeighting
:members:
:show-inheritance: