Skip to content

Commit c0f5b46

Browse files
committed
Address some linting issues
1 parent 7719a3e commit c0f5b46

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/qonnx/core/modelwrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
from qonnx.transformation.general import (
4242
RemoveStaticGraphInputs,
4343
RemoveUnusedTensors,
44+
SortCommutativeInputsInitializerLast,
4445
SortGraph,
45-
SortCommutativeInputsInitializerLast
4646
)
4747

4848

src/qonnx/transformation/general.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@
2929
import json
3030
import numpy as np
3131
import warnings
32+
33+
# Protobuf onnx graph node type
34+
from onnx import NodeProto # noqa
3235
from onnx import mapping
3336
from toposort import toposort_flatten
3437

3538
import qonnx.util.basic as util
3639
from qonnx.transformation.base import Transformation
3740

38-
# Protobuf onnx graph node type
39-
from onnx import NodeProto # noqa
40-
4141

4242
class MovePadAttributeToTensor(Transformation):
4343
"Move padding info from attribute into input tensor for Pad nodes."

0 commit comments

Comments
 (0)