Skip to content

Commit 9040acc

Browse files
Merge pull request #1003 from onnx/tom/ImportOnnxBeforeTf
Added an import onnx statement to __init__.py to fix MacOS bug
2 parents 4381b2b + af030c2 commit 9040acc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tf2onnx/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
__all__ = ["utils", "graph_matcher", "graph", "graph_builder",
1010
"tfonnx", "shape_inference", "schemas", "tf_utils", "tf_loader"]
1111

12+
import onnx
1213
from .version import version as __version__
1314
from . import verbose_logging as logging
1415
from tf2onnx import tfonnx, utils, graph, graph_builder, graph_matcher, shape_inference, schemas # pylint: disable=wrong-import-order

0 commit comments

Comments
 (0)