Skip to content

Commit e28c973

Browse files
authored
add ALv2 licenses (#1271)
Signed-off-by: Sheng Zha <[email protected]>
1 parent 25f8b0c commit e28c973

File tree

257 files changed

+3169
-2323
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

257 files changed

+3169
-2323
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions

LICENSE

Lines changed: 355 additions & 22 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 4 additions & 2 deletions

Troubleshooting.md

Lines changed: 3 additions & 1 deletion

build.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
rem SPDX-License-Identifier: Apache-2.0
2+
13
python -m pytest --cov=tf2onnx
24
python setup.py bdist_wheel

build.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
#!/bin/bash
22

3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
36
set -x
47

58
apt-get install -y protobuf-compiler libprotoc-dev
6-
pip install setuptools
9+
pip install setuptools
710
pip install onnx pytest-cov
811

912
python setup.py test

examples/benchmark_tfmodel_ort.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
13
"""
24
The following code compares the speed of tensorflow against onnxruntime
35
with a model downloaded from Tensorflow Hub.

examples/call_converter_via_python.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
13
"""
24
A simple example how to call tensorflow-onnx via python.
35
"""

examples/custom_op_via_python.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
13
"""
24
A simple example how to map a custom op in python.
35
"""

examples/end2end_tfhub.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
13
"""
24
This example retrieves a model from tensorflowhub.
35
It is converted into ONNX. Predictions are compared to

0 commit comments

Comments
 (0)