Skip to content

Commit 34476fe

Browse files
committed
fix pylint
1 parent 16d0c28 commit 34476fe

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

tf2onnx/convert.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from __future__ import unicode_literals
1111

1212
import argparse
13-
import onnx
1413
from onnx import helper
1514
import tensorflow as tf
1615

tf2onnx/graph.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ def attr(self):
8787

8888
@property
8989
def attr_onnx(self):
90+
"""Return onnx valid attributes"""
9091
schema = get_schema(self.type, self.graph.opset, self.domain)
9192
if schema is None and not (self.is_const() or self.is_graph_input()):
9293
log.warning("Node %s uses non-stardard onnx op <%s, %s>, skip attribute check", self.name, self.domain,

0 commit comments

Comments
 (0)