Onnx2tf

Latest version: v1.27.1

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 13 of 86

1.19.4

- Added ability to optimize patterns with consecutive `ReLU` and `ReLU6`

|ONNX|TFLite (Unoptimized)|TFLite (Optimized)|
|:-:|:-:|:-:|
|![image](https://github.com/PINTO0309/onnx2tf/assets/33194443/50b39a46-0f20-459f-99bb-5bc2d286cf04)|![image](https://github.com/PINTO0309/onnx2tf/assets/33194443/0eb69dae-171f-4431-8099-118cbec3bc11)|![image](https://github.com/PINTO0309/onnx2tf/assets/33194443/491d89bc-b6e4-4cac-9551-ea2cb081f32d)|

What's Changed
* Added ability to optimize patterns with consecutive `ReLU` and `ReLU6` by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/562


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.19.3...1.19.4

1.19.3

- Support for onnx==1.15.0
- Protocol Buffers serialization process was adapted to the new onnx==1.15.0 specification.

What's Changed
* `-nodafsc`, `-eatfp16` by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/560
* Support for onnx==1.15.0 by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/561


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.19.2...1.19.3

1.19.2

- Support for `Gelu`
https://github.com/onnx/onnx/blob/main/docs/Changelog.md#gelu-20

What's Changed
* Support for `Gelu` by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/559


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.19.1...1.19.2

1.19.1

- Fixed a bug that caused `-nodafsc` processing to be unconditionally skipped.
- [Conversion of YoloV5, conversion of StridedSlice from 5d to 4d 557](https://github.com/PINTO0309/onnx2tf/issues/557)

![image](https://github.com/PINTO0309/onnx2tf/assets/33194443/cd1c5a0f-b525-4797-8abf-b00fff7197c5)

What's Changed
* Fixed a bug that caused `-nodafsc` processing to be unconditionally skipped. by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/558


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.19.0...1.19.1

1.19.0

- TensorFlow v2.15.0
- onnxruntime v1.16.3

What's Changed
* tf v2.15.0 by PINTO0309 in https://github.com/PINTO0309/onnx2tf/pull/554


**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.18.15...1.19.0

1.18.15

- Half-precision Inference Doubles On-Device Inference Performance.
- On certain ARM cores, specifying a hint that the model is a Float16 precision model doubles the conventional inference speed.

-eatfp16, --enable_accumulation_type_float16 ENABLE_ACCUMULATION_TYPE_FLOAT16
Hint for XNNPack fp16 inference on float16 tflite model.

- https://blog.tensorflow.org/2023/11/half-precision-inference-doubles-on-device-inference-performance.html

This is result in macbook.
- Chip: Apple M1 Pro (ArmV8 processor)
- Python 3.9
- Tensorflow 2.15.0 (from pip install tensorflow==2.15.0)

<img width="811" alt="image" src="https://github.com/PINTO0309/onnx2tf/assets/74748700/51799aff-b006-46e1-a372-bd8b2195b854">

Regarding on x86, AVX2 is necessary and rebuild python package in PyPI seems be NOT enabled AVX2. According to the blog, AVX2 emulation in x86 is for precision check and its is slow.

What's Changed
* Improve macOS compatibility via docker by ysohma in https://github.com/PINTO0309/onnx2tf/pull/548
* Add option for tflite float16 model by ysohma in https://github.com/PINTO0309/onnx2tf/pull/553

New Contributors
* ysohma made their first contribution in https://github.com/PINTO0309/onnx2tf/pull/548

**Full Changelog**: https://github.com/PINTO0309/onnx2tf/compare/1.18.14...1.18.15

Page 13 of 86

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.