There is a newer version of the record available.

Published September 25, 2022 | Version 1.5.40

Tools to convert ONNX files (NCHW) to TensorFlow format (NHWC)

Authors/Creators

Description

There is replacement options for some operations like Asin and PReLU. However, these options are separated in argument parsing and parameter passing, which make redundant and duplicated code parts. In this PR, those lines are simplified by using single option replace_to_pseudo_operators. If user give the names of target operation as list like ["acos", "hardswish"], each operator is replaced to pseudo operators same as before. I didn't change the logic itself, just refactoring for future in case more pseudo operators are added.

-rtpo, --replace_to_pseudo_operators
  Replace list of operators to pseudo operators.
  Full name of the target operators should be given.
  Currently supported operators :
  Asin, Acos, Abs, PReLU, LeakyReLU, Power, GatherND, Neg, HardSwish, Erf
What's Changed

Full Changelog: https://github.com/PINTO0309/onnx2tf/compare/1.5.38...1.5.40

Notes

If you use onnx2tf in your research, please cite it using these metadata.

Files

PINTO0309/onnx2tf-1.5.40.zip

Files (452.5 kB)

Name Size Download all
md5:01d96ef30ee959d4b08192dbd1cf8c0b
452.5 kB Preview Download

Additional details

Related works