There is a newer version of the record available.

Published September 25, 2022 | Version 1.2.15
Software Open

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

Authors/Creators

Description

  1. The workaround to replace a leading slash in an OP name with wa/ is performed only when --output_signaturedefs is enabled.
  2. Support for direct replacement of Slice OP with tf.strided_slice
  • replace_slice.json sample Slice implements special replacements separately ignore all automatic conversions and generate tf.strided_slice directly by specifying all parameters of tf.strided_slice directly. https://www.tensorflow.org/api_docs/python/tf/strided_slice
    {
      "format_version": 1,
      "operations": [
        {
          "op_name": "/Slice",
          "param_target": "op",
          "begin": [0,0,1,0],
          "end": [0,0,0,0],
          "end_mask": 15
        },
        {
          "op_name": "/Slice_1",
          "param_target": "op",
          "begin": [0,0,0,0],
          "end": [0,0,39,0],
          "end_mask": 11
        }
      ]
    }
    
What's Changed

Full Changelog: https://github.com/PINTO0309/onnx2tf/compare/1.2.14...1.2.15

Notes

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

Files

PINTO0309/onnx2tf-1.2.15.zip

Files (394.8 kB)

Name Size Download all
md5:d029f044fcd10c78907397e49277de52
394.8 kB Preview Download

Additional details

Related works