Skip to content

Commit

Permalink
Added PatternNode to dace.transformation imports. (#1618)
Browse files Browse the repository at this point in the history
It was very inconvenient, as `PatternTransformation` can be imported
from `dace.transformation` but the node has to be imported from
`dace.transformation.transformation`.
  • Loading branch information
philip-paul-mueller authored Aug 22, 2024
1 parent 02adb9c commit 7266b2e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dace/transformation/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from .transformation import (PatternTransformation, SingleStateTransformation, MultiStateTransformation,
SubgraphTransformation, ExpandTransformation, experimental_cfg_block_compatible)
from .transformation import (PatternNode, PatternTransformation, SingleStateTransformation,
MultiStateTransformation, SubgraphTransformation, ExpandTransformation,
experimental_cfg_block_compatible, single_level_sdfg_only)
from .pass_pipeline import Pass, Pipeline, FixedPointPipeline

0 comments on commit 7266b2e

Please sign in to comment.