Skip to content

Commit 244e90a

Browse files
authored
Merge pull request #618 from onnx/gs/fixbuild
fix build
2 parents 0dd7f6d + fa9132f commit 244e90a

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ A list of models that we use for testing can be found [here](tests/run_pretraine
1717
Supported RNN classes and APIs: LSTMCell, BasicLSTMCell, GRUCell, GRUBlockCell, MultiRNNCell, and user defined RNN cells inheriting rnn_cell_impl.RNNCell, used along with DropoutWrapper, BahdanauAttention, AttentionWrapper.
1818
Check [tips](examples/rnn_tips.md) when converting RNN models.
1919

20+
You find a list of supported Tensorflow ops and their mapping to ONNX [here](support_status.md).
21+
2022
Tensorflow has broad functionality and occacional mapping it to ONNX creates issues.
2123
The common issues we run into we try to document here [Troubleshooting Guide](Troubleshooting.md).
2224

tools/gen_doc.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1+
"""
2+
tool to list tensorflow op to onnx op mapping in markdown
3+
"""
4+
15
import argparse
2-
from tf2onnx.handler import tf_op
6+
37
from collections import OrderedDict
48

9+
from tf2onnx.handler import tf_op
10+
511
parser = argparse.ArgumentParser()
612
parser.add_argument('filename',
713
type=str,
@@ -30,6 +36,3 @@
3036
# Document support status according to the gathered mapping.
3137
for tf_op, supported_versions in tf_op_to_versions.items():
3238
doc_file.write("| {} | {} |\n".format(tf_op, supported_versions))
33-
34-
doc_file.close()
35-

0 commit comments

Comments
 (0)