Skip to content

Releases: PINTO0309/sor4onnx

1.0.7

28 May 23:38
db9f535
Compare
Choose a tag to compare
  • Retention of metadata_props

What's Changed

Full Changelog: 1.0.6...1.0.7

1.0.6

30 Apr 06:34
df14346
Compare
Choose a tag to compare
  1. Fix to preserve domain and ir_version.
  2. API specification changes due to the version upgrade of onnx are now supported. onnx==1.16.0

What's Changed

New Contributors

Full Changelog: 1.0.5...1.0.6

1.0.5

24 Sep 04:47
Compare
Choose a tag to compare
  • Supoort for search_mode option
  -sm {exact_match,partial_match,prefix_match,suffix_match}
  --search_mode {exact_match,partial_match,prefix_match,suffix_match}

      OP name search mode.
      exact_match or partial_match or prefix_match or suffix_match.
      exact_match: Exact match search for OP name.
      partial_match: Partial match search for OP name.
      prefix_match: Prefix match search for OP name.
      suffix_match: Suffix match search for OP name.
      Default: exact_match

1.0.4

10 Sep 07:01
Compare
Choose a tag to compare
  • Add short form soc4onnx
    $ sor4onnx -h
    
    usage:
      sor4onnx [-h]
      -if INPUT_ONNX_FILE_PATH
      -on OLD_NEW OLD_NEW
      -of OUTPUT_ONNX_FILE_PATH
      [-m {full,inputs,outputs}]
      [-n]
    
    optional arguments:
      -h, --help
          show this help message and exit.
    
      -if INPUT_ONNX_FILE_PATH, --input_onnx_file_path INPUT_ONNX_FILE_PATH
          Input onnx file path.
    
      -on OLD_NEW OLD_NEW, --old_new OLD_NEW OLD_NEW
          All occurrences of substring old replaced by new.
          e.g. --old_new "onnx::" ""
    
      -of OUTPUT_ONNX_FILE_PATH, --output_onnx_file_path OUTPUT_ONNX_FILE_PATH
          Output onnx file path.
    
      -m {full,inputs,outputs}, --mode {full,inputs,outputs}
          Specifies the type of node to be replaced.
          full or inputs or outputs.
          full: Rename all nodes.
          inputs: Rename only the input node.
          outputs: Rename only the output node.
          Default: full
    
      -n, --non_verbose
          Do not show all information logs. Only error logs are displayed.
    

1.0.3

26 Aug 10:33
Compare
Choose a tag to compare
  • opname auto supplementation

    • OPs in old ONNX files may be missing opname, so opname is automatically completed when opname is empty.
    • opname: f'sor_{graph_node.op}_{supplementation_idx}'
  • Model without opname
    image

  • Model with auto-completion of opname in sor4onnx
    image

1.0.2

25 May 06:52
65ca56b
Compare
Choose a tag to compare
  • Security update
  • README update

1.0.1

13 May 14:54
Compare
Choose a tag to compare
  • Added Rename mode
mode: Optional[str]
    Specifies the type of node to be replaced.
    full or inputs or outputs.

    full: Rename all nodes.
    inputs: Rename only the input node.
    outputs: Rename only the output node.

    Default: full

1.0.0

04 May 17:00
5ae3570
Compare
Choose a tag to compare
  • Initial release