From 6d4c95f683ef0084e27eadd600555834e9df91df Mon Sep 17 00:00:00 2001 From: Philipp Schaad Date: Tue, 31 Oct 2023 11:21:45 +0100 Subject: [PATCH] Remove obsolete scope_subgraph method --- dace/sdfg/state.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/dace/sdfg/state.py b/dace/sdfg/state.py index d0cc24e0bf..097365fbc3 100644 --- a/dace/sdfg/state.py +++ b/dace/sdfg/state.py @@ -279,10 +279,6 @@ def signature_arglist(self, with_types=True, for_call=False): """ return [v.as_arg(name=k, with_types=with_types, for_call=for_call) for k, v in self.arglist().items()] - @abc.abstractmethod - def scope_subgraph(self, entry_node, include_entry=True, include_exit=True): - raise NotImplementedError() - @abc.abstractmethod def top_level_transients(self) -> Set[str]: """Iterate over top-level transients of this graph.""" @@ -1034,11 +1030,6 @@ def unordered_arglist(self, scalar_args.update(n_scalar_args) return data_args, scalar_args - def scope_subgraph(self, entry_node, include_entry=True, include_exit=True): - # TODO: Not sure if this makes sense here. - from dace.sdfg.scope import _scope_subgraph - return _scope_subgraph(self, entry_node, include_entry, include_exit) - def top_level_transients(self) -> Set[str]: res = set() for block in self.nodes():