Skip to content

Commit 19e8346

Browse files
committed
fix pylint
1 parent 53bd117 commit 19e8346

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tf2onnx/custom_opsets/onnx_ml.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ def version_11(cls, ctx, node, **kwargs):
4747
""" utilize contrib cropandresize """
4848
node.attr['method'].name = 'mode'
4949
node.domain = constants.MICROSOFT_DOMAIN
50-
ctx.insert_new_node_on_input(node, "Transpose", node.input[0], perm=[0,3,1,2])
51-
ctx.insert_new_node_on_output("Transpose", node.output[0], node.name + '_transposed', None, perm=[0,2,3,1])
50+
ctx.insert_new_node_on_input(node, "Transpose", node.input[0], perm=[0, 3, 1, 2])
51+
ctx.insert_new_node_on_output("Transpose", node.output[0], node.name + '_transposed', None, perm=[0, 2, 3, 1])

0 commit comments

Comments
 (0)