From 1da1e7ba4f082539226aa52b0f36d36232107813 Mon Sep 17 00:00:00 2001 From: Tianyi Zheng Date: Fri, 13 Jan 2023 15:30:53 -0500 Subject: [PATCH] super already calls forward_graph connection --- analogvnn/nn/module/FullSequential.py | 1 - 1 file changed, 1 deletion(-) diff --git a/analogvnn/nn/module/FullSequential.py b/analogvnn/nn/module/FullSequential.py index b99a7b5..657ff1b 100644 --- a/analogvnn/nn/module/FullSequential.py +++ b/analogvnn/nn/module/FullSequential.py @@ -24,6 +24,5 @@ def compile(self, device: Optional[torch.device] = None, layer_data: bool = True FullSequential: self """ arr = [self.graphs.INPUT, *list(self._runtime_module_list.values()), self.graphs.OUTPUT] - self.graphs.forward_graph.add_connection(*arr) self.graphs.backward_graph.add_connection(*reversed(arr)) return super().compile(device, layer_data)