Fix Codacy Warnings (#477)

---------

Co-authored-by: Dario Coscia <dariocos99@gmail.com>
This commit is contained in:
Filippo Olivo
2025-03-10 15:38:45 +01:00
committed by Nicola Demo
parent e3790e049a
commit 4177bfbb50
157 changed files with 3473 additions and 3839 deletions

View File

@@ -2,7 +2,7 @@
import torch
from . import SupervisedSolver
from .supervised import SupervisedSolver
class ReducedOrderModelSolver(SupervisedSolver):
@@ -39,7 +39,8 @@ class ReducedOrderModelSolver(SupervisedSolver):
\mathcal{D}_{\rm{net}}[\mathcal{E}_{\rm{net}}[\mathbf{u}(\mu_i)]] -
\mathbf{u}(\mu_i))
where :math:`\mathcal{L}` is a specific loss function, default Mean Square Error:
where :math:`\mathcal{L}` is a specific loss function, default
Mean Square Error:
.. math::
\mathcal{L}(v) = \| v \|^2_2.