Skip to content

Commit 4fc5070

Browse files
committed
Remove some overly verbose comments
1 parent a2b0032 commit 4fc5070

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/qonnx/transformation/composed.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Copies (deep-copies) python objects
21
import copy
32

43
# QONNX wrapper of ONNX model graphs
@@ -29,12 +28,10 @@
2928
class ComposedTransformation(Transformation):
3029
# Initializes the transformation given a list of transformations
3130
def __init__(self, transformations: list[Transformation]):
32-
# Initialize the transformation base class
3331
super().__init__()
3432
# Register the list of transformations to be applied in apply()
3533
self.transformations = transformations
3634

37-
# Applies the transform to a whole model graph
3835
def apply(self, model: ModelWrapper): # noqa
3936
# Keep track of whether the graph has been modified
4037
graph_modified = False
@@ -54,7 +51,7 @@ def apply(self, model: ModelWrapper): # noqa
5451
# Break the loop if this transformation did not change anything
5552
if not _graph_modified:
5653
break
57-
# Apply the cleanup transformations of the ModelWrapper
54+
# Apply the default cleanup transformations of the ModelWrapper
5855
model.cleanup()
5956
# Apply some further cleanup transformations to the model graph
6057
# removing some clutter and keeping all names readable and ordered

0 commit comments

Comments
 (0)