Skip to content

Conversation

hwangdeyu
Copy link
Owner

No description provided.

hwangdeyu and others added 30 commits May 11, 2022 15:04
Signed-off-by: Deyu Huang <[email protected]>
Co-authored-by: Jay Zhang <[email protected]>
Signed-off-by: Francesco Di Natale <[email protected]>

Co-authored-by: Jay Zhang <[email protected]>
* drop python36 unit tests

Signed-off-by: Deyu Huang <[email protected]>

* add doc change

Signed-off-by: Deyu Huang <[email protected]>
Co-authored-by: Jay Zhang <[email protected]>
* add opset 16 support and ci
* python 3.7 requires tf>=1.13

Signed-off-by: Deyu Huang <[email protected]>
* Update the default opset version for tf2onnx.
* Update README.md accordingly.

Signed-off-by: Jay Zhang <[email protected]>
* Update the way to check input_signature in from_function().

Signed-off-by: Jay Zhang <[email protected]>
* update protobuf version in ci

Signed-off-by: Deyu Huang <[email protected]>

* add change in unit_test

Signed-off-by: Deyu Huang <[email protected]>
* add TensorScatterAdd op conversion in opset 16

Signed-off-by: Deyu Huang <[email protected]>

* add unit test

Signed-off-by: Deyu Huang <[email protected]>

* fix pylint name

Signed-off-by: Deyu Huang <[email protected]>

* fix typo and test op check

Signed-off-by: Deyu Huang <[email protected]>
Co-authored-by: Jay Zhang <[email protected]>

Co-authored-by: Jay Zhang <[email protected]>
* Add a new api from_tflite to improve user experience.

Signed-off-by: Jay Zhang <[email protected]>
* upgrade opset 16 status doc

Signed-off-by: Deyu Huang <[email protected]>
increment main to 1.11 version
Signed-off-by: Deyu Huang <[email protected]>
…nnx#1964)

* Transpose optimization for Softmax and LogSoftmax (fixes onnx#1716)

In opsets 13 and higher, the axis of the operation is arbitrary and can simply be changed according to the permutation of the Transpose.
In lower opsets, Softmax always coerces its inputs to a 2D tensor, making Transpose operations necessary if the permutation moves axes between the coerced batch and feature dimensions.

Signed-off-by: janbernloehr <[email protected]>

Co-authored-by: fthielke <[email protected]>
…ut_names and output_names. (onnx#1967)

* The from_tflite() function should not change the value of None to an empty list for input_names and output_names.
* Change the way to validate a list is None or Emtpy.

Signed-off-by: Jay Zhang <[email protected]>
…onnx#1971)

* make Loop op with maximum iterations M equal to empty string to match onnx spec

Signed-off-by: Deyu Huang <[email protected]>
Update README.md typos
Signed-off-by: andife <[email protected]>
Update CLA -> DCO (as all onnx projects)
Signed-off-by: andife <[email protected]>
* Update all Keras related tests to support latest TF version.

Signed-off-by: Jay Zhang <[email protected]>
* Update tests in nightly keras-application-test.

Signed-off-by: Jay Zhang <[email protected]>
L2_NORMALIZATION support for tflite

Signed-off-by: Shesung <[email protected]>
Co-authored-by: Deyu Huang <[email protected]>
Replace deprecated `np.object` with `object`
Signed-off-by: Václav Volhejn <[email protected]>

Co-authored-by: Deyu Huang <[email protected]>
…onnx#1979)

* add output_as_nchw

Signed-off-by: Deyu Huang <[email protected]>

* fix node replace logic

Signed-off-by: Deyu Huang <[email protected]>

* add tests for outputs as nchw

Signed-off-by: Deyu Huang <[email protected]>

* add it into function and doc

Signed-off-by: Deyu Huang <[email protected]>

* fix output_names_with_port range

Signed-off-by: Deyu Huang <[email protected]>

* fix the input_as_nchw description

Signed-off-by: Deyu Huang <[email protected]>

* change tests name

Signed-off-by: Deyu Huang <[email protected]>
* add tranposeOptimizer split for opset >= 13

Signed-off-by: Deyu Huang <[email protected]>

* add test

Signed-off-by: Deyu Huang <[email protected]>

* fix comments

Signed-off-by: Deyu Huang <[email protected]>
…nnx#2000)

If the Graph object being constructed already contains a node of
the name of a Const node in orginal graph, do not add as input.

Signed-off-by: Yu Cong <[email protected]>

Co-authored-by: Yu Cong <[email protected]>
Co-authored-by: Deyu Huang <[email protected]>
…#2001)

Add pattern matching and parsing where Keras LSTM uses `HardSigmoid` as the recurrent activation.

Signed-off-by: Yu Cong <[email protected]>
* Add more tests to cover tf 2.9.x.
* Set tensorflowjs to a fixed version 3.18.0.
* Fix an issue of installing tensorflow-text component.

Signed-off-by: Jay Zhang <[email protected]>
hwangdeyu and others added 10 commits July 28, 2022 07:19
* Improve ZerosLike implementation for opset >= 9

Signed-off-by: Deyu Huang <[email protected]>
Co-authored-by: Guenther Schmuelling <[email protected]>

* add a blank line

Signed-off-by: Deyu Huang <[email protected]>

Co-authored-by: Guenther Schmuelling <[email protected]>
Co-authored-by: Jay Zhang <[email protected]>
* python3.10 support

Signed-off-by: Deyu Huang <[email protected]>

* add tests except keras

Signed-off-by: Deyu Huang <[email protected]>

* add protubuf limit for tf 2.9.1 and ort to 1.12.0

Signed-off-by: Deyu Huang <[email protected]>

* onnxruntime-extensions/yaml is not support with python3.10

Signed-off-by: Deyu Huang <[email protected]>

* remove onnxruntime-extensions support in py310

Signed-off-by: Deyu Huang <[email protected]>
Co-authored-by: Jay Zhang <[email protected]>
Signed-off-by: Deyu Huang <[email protected]>
Signed-off-by: Deyu Huang <[email protected]>
* ONNX opset 17 with IR version 8 support

Signed-off-by: Deyu Huang <[email protected]>
* Turn on graph tf optimize grappler dependency

Signed-off-by: Deyu Huang <[email protected]>

* Aviod output name rewrite in random normal

Signed-off-by: Deyu Huang <[email protected]>
Co-authored-by: Jay Zhang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants