From 7f45988ea4a0ef43920c82ab048dfbf13cd2fc67 Mon Sep 17 00:00:00 2001 From: FilippoOlivo Date: Wed, 27 Nov 2024 15:52:45 +0100 Subject: [PATCH] Qualcosa 2 --- pina/solvers/graph.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 pina/solvers/graph.py diff --git a/pina/solvers/graph.py b/pina/solvers/graph.py deleted file mode 100644 index 57dcf615..00000000 --- a/pina/solvers/graph.py +++ /dev/null @@ -1,18 +0,0 @@ -from .supervised import SupervisedSolver -from ..graph import Graph - - -class GraphSupervisedSolver(SupervisedSolver): - - def __init__( - self, - problem, - model, - loss=None, - optimizer=None, - scheduler=None, - use_lt=True,): - super().__init__(problem, model, loss, optimizer, scheduler, use_lt=use_lt) - - def forward(self, batch): - return self._model(batch.x, batch.edge_index, batch.batch)