- 16 Sep, 2021 1 commit
-
-
Shucai Xiao authored
Add Loop operator for opset version 13. Notes: 1) Default max iteration number is 10 if no max iteration number is provided 2) To change the max iter number, a user can set the max_loop_iterations in the onnx_option struct when parsing a model. 3) The returned shape of the scan output is from the max_loop_iterations even the actual loop num is less than that. This issue also applies to other operators like NonZero and NonMaxSuppression. A issue #948 is created to track this and to be resolved later. Co-authored-by:
Paul <pfultz2@yahoo.com> Co-authored-by:
mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 01 Sep, 2021 1 commit
-
-
Paul Fultz II authored
* Add a command to list supported onnx operators
-
- 13 Jan, 2021 1 commit
-
-
kahmed10 authored
* initial testing * initial testing * add dequantize * formatting * add tests * formatting * revert file * add parse files * formatting * add axis tuning and fix tests * formatting * add tests and fix int8 * formatting * fix tidy * test with int32 * add default name and change string to upper * formatting * remove boost call
-
- 19 Dec, 2020 1 commit
-
-
Paul Fultz II authored
* Load op when serializing * Formatting * Add missing clip field * Use make_op almost everywhere * Formatting * More make ops for rnns * Get rid of spaces * Formatting * Remove operators headers * Formatting * Remove unused op headers * Increase line threshold * Refactor onnx_parser class * Formatting * Add op_parser * Formatting * Remove old onnx drivers * Use file GLOB * Parse arg ops * Formatting * Add pooling * Formatting * Add parse_natchnorm * Add more operators * Formatting * Add more operators * Formatting * Add more operators * Formatting * Add more operators * Add rnn operators * Formatting * Fix tidy issues * Formatting * Add back missing param * Formatting * Fix shadow variable * Fix shadow in declaration * Make global constant * Formatting * Add generic op * Formatting * Add binary op * Formatting * Add variadiac op * Formatting * Remove unused fields and functions * Set default values * Formatting * Remove unused member variable * Add add literal overload * Use info.add_literal * Formatting * Call add_instruction through info class * Fix tidy issues * Formatting Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 08 Dec, 2020 1 commit
-
-
Paul Fultz II authored
* Load op when serializing * Formatting * Add missing clip field * Use make_op almost everywhere * Formatting * More make ops for rnns * Get rid of spaces * Formatting * Remove operators headers * Formatting * Remove unused op headers * Increase line threshold
-
- 19 Nov, 2020 1 commit
-
-
Shucai Xiao authored
* reimplement the where op to avoid inf value issue * clang format * fixed a bug in a unit test * clang format * clang format Co-authored-by:
mvermeulen <5479696+mvermeulen@users.noreply.github.com> Co-authored-by:
Paul Fultz II <pfultz2@yahoo.com>
-
- 11 Nov, 2020 2 commits
-
-
Shucai Xiao authored
* code backup * clang format * change corresponding tool files * clang format Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
kahmed10 authored
* initial progress * formatting * change function def * move read_buffer to header * formatting * add test files * formatting * fix tidy and deepcode errors * deepcode check * use file_buffer * add const * use newer fs calls * formatting Co-authored-by:
Shucai Xiao <shucai.xiao@amd.com> Co-authored-by:
mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 29 Oct, 2020 1 commit
-
-
Shucai Xiao authored
* code backup for upsample op * clang format * fixed a bug * fix a bug * clang format * add unit tests for upsample * clang format * code backup for resize * clang format * code backup * clang format * add unit test for resize operator * clang format * fix cppcheck error * fix cppcheck error * clang format * fix a typo * refine unit tests for better code coverage * remove unnecessary python binary file * fix review comments * clang format * change two functions to static Co-authored-by:
Paul Fultz II <pfultz2@yahoo.com> Co-authored-by:
mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 15 Oct, 2020 1 commit
-
-
turneram authored
* Added greater and less operators * Fixed ops_test.cpp * Set commutative to false for less, greater * Refactored parse_equal/less/greater into parse_compare_op * Removed unnecessary function attributes() from greater.hpp/less.hpp * Added op_name arguments * Removed local settings * Formatting * Missing comma * Formatting * Formatting * Formatting * Formatting * Formatting * Missing space Co-authored-by:Paul Fultz II <pfultz2@yahoo.com>
-
- 08 Oct, 2020 1 commit
-
-
Shucai Xiao authored
* code backup for upsample op * clang format * fixed a bug * fix a bug * clang format * add unit tests for upsample * clang format * clang format Co-authored-by:Paul Fultz II <pfultz2@yahoo.com>
-
- 25 Sep, 2020 1 commit
-
-
Shucai Xiao authored
* code backup * clang format * support for sele operator * clang format * added an onnx unit test for selu * clang format * add more unit tests for the selu operation Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 14 Sep, 2020 1 commit
-
-
Shucai Xiao authored
* add the where operator * clang format * add where unit tests * add where op unit test * clang format * add more unit tests for the where op * clang format * Add support for constructing value from enum * Formatting * add an comment about the algorithm * call make_op to create the convert instruction Co-authored-by:Paul <pfultz2@yahoo.com>
-
- 09 Sep, 2020 1 commit
-
-
Shucai Xiao authored
* add support for latest dropout version * clang format * fix a build error * fix a cppcheck error * add bool type * code backup * code backup * clang format * fix build warnings * clang format * add the equal operator * add the equal operator * clang format * remove unnecessary code * refine unit tests * clang format * fix review comments and a bug * clang format * additional changes * clang format * remove unnecessary changes * remove unnecessary changes Co-authored-by:Paul Fultz II <pfultz2@yahoo.com>
-
- 01 Sep, 2020 1 commit
-
-
Shucai Xiao authored
* fix a bug in parsing clip * clang format * add unit tests * clang format
-
- 31 Aug, 2020 2 commits
-
-
kahmed10 authored
* fix parsing to kdims * add 5d size * fix assert * add 3d test * formatting Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
Shucai Xiao authored
* support pooling ceil_mode * clang format * add unit test for pooling ceil mode * clang format * fix review comments * clang format * add more unit tests and fixed a bug in cpu pooling implementation * clang format * add one more unit test * clang format * fix cppcheck error * fix cppcheck error * fix cppcheck error * fix review comments * clang format * remove the padding_mode attribute in pooling * clang format * clang format * fix review comments * clang format * fix a cppcheck error * fix review comments Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 28 Aug, 2020 1 commit
-
-
Shucai Xiao authored
* add bool type * code backup * code backup * clang format * fix build warnings * clang format * add the equal operator * add the equal operator * clang format * remove unnecessary code * refine unit tests * clang format * fix review comments and a bug * clang format * additional changes * clang format * fix cppcheck error * add bool type in c api * fix cppcheck error * fix review comments * fix cppcheck error * fix a build error related to gcc * fix cppcheck error * fix cppcheck error * added the equal operator to register list * add parsing boolean type * clang format * fix bool type issue for python output * clang format * add support for automatic multibroadcast of the equal operator * additional unit tests for more code coverage * clang format * missing an onnx file * code cleanup * clang format * fix issue of int64 data type in python api * clang format * include more onnx backend unit tests * add more unit tests to cover code changes * clang format * disable python tests for python2.7 * code backup for python half type support * clang format * code change to support half data type in python * add a unit test for python half type * clang format * add more unit tests for more code coverage * clang format * add more unit tests for more code coverage * clang format * refine unit tests to have more code coverage * clang format * update python unit test * revert to a previous version of test_gpu.py
-
- 27 Aug, 2020 1 commit
-
-
Shucai Xiao authored
* add bool type * code backup * code backup * clang format * fix build warnings * clang format * add the equal operator * add the equal operator * clang format * remove unnecessary code * refine unit tests * clang format * fix review comments and a bug * clang format * additional changes * clang format * fix cppcheck error * add bool type in c api * fix cppcheck error * fix review comments * fix cppcheck error * fix a build error related to gcc * fix cppcheck error * fix cppcheck error * added the equal operator to register list * add parsing boolean type * clang format * fix bool type issue for python output * clang format * add support for automatic multibroadcast of the equal operator * additional unit tests for more code coverage * clang format * missing an onnx file Co-authored-by:Paul Fultz II <pfultz2@yahoo.com>
-
- 26 Aug, 2020 1 commit
-
-
Paul Fultz II authored
* Add make_op function * Formatting * Add more values * Formatting * Remove templates parse_conv functions * Formatting * Remove mat_mul template * Formatting * Reduce header includes * Fix compiling for gpu * Formatting * Use make_op in lowering * Formatting * Sort lines * Formatting * Add more tests * Formatting * Fix tidy error * Formatting * Add const refs * Add explicit this * Add more const refs * Sort the program * Remove commented out code * Formatting * Infer gpu prefix * Formatting Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 05 Aug, 2020 1 commit
-
-
Shucai Xiao authored
* add parsing NonZero operator * clang format * add unit test * clang format * add unit tests for more code coverage * clang format * fix an error message * fix review comments * fix review comments Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 15 Jul, 2020 1 commit
-
-
Shucai Xiao authored
* initial progress * formatting * add pooling changes * formatting * change eliminate_pad * formatting * rename var * fomratting * update op shape test and compute * formatting * revert conv constructor * formatting * change initializer * formatting * fix tidy * change quant conv and shape check * add tests and fixes * formatting * fix type * fix conv test * formatting * add pooling and bn tests * formatting * add inconsistent attr tests * fix padding issue * formatting * progress on 1d to 2d * formatting * change compute and compile functions * formatting * fix duplicate * fix conflict * fix issue with 1d conv * formatting * add check for 3d limit * rename function * formatting * update to MIOPen 2.3 * add support for nd pooling * formatting * test miopen 2.4 * change function name * rename functions * formatting * add op_shape test * add gpu ops tests * formatting * add pkg-config * add to support asymmetric padding of averagepool * clang format * fix bug for average pooling * clang format * fix a bug * add unit tests for the asymmetric padding of averagepool * clang format * change functions * formatting * additional code refinement * clang format * change to copy_backward * formatting * remove an optimization for pooling * clang format * add and fix unit tests * clang format * test diff miopen version * add pooling shape tests * temp disable test * fix cppcheck error * fix cppcheck error * revert to miopen 2.4 * fix review comments * fix review comments * clang format * fixed review comments * clang format * fix cppcheck error Co-authored-by:
Khalique <15948690+kahmed10@users.noreply.github.com> Co-authored-by:
mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 29 Jun, 2020 1 commit
-
-
kahmed10 authored
* initial progress * formatting * check existing tests * formatting * change for loop to transform * formatting * add tests * formatting * remove comment * add more tests * remove extra slice axes Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 23 Jun, 2020 1 commit
-
-
Shucai Xiao authored
* add the neg operator * clang format * add missing operator * fixed a cppcheck error * change to use the neg operator * clang format
-
- 22 Jun, 2020 1 commit
-
-
Shucai Xiao authored
* code backup * clang format * fix compiling errors * clang format * rename a few files * rename a few files * fix variable bugs * clang format * add an operator to shift input sequences * clang format * fixed a bug * clang format * fixed a bug * clang format * code backup * clang format * code backup * clang format * code backup * clang format * refine code related lstm operator optimization * clang format * fix various bugs * clang format * fixed a bug in rewrite_lstm * clang format * fixed another bug * refine two operator names * clang format * refine file names * fix cppcheck error * clang format * fix cppcheck error * clang format * fix cppcheck error * fixed review comments * clang format * add unit tests * clang format * add unit tests * clang format * refine unit tests for better coverage * clang format * fixed a bug * fix cppcheck error * fix review comments * clang format * rename two operators according to review comments * clang format * add parsing the operator GatherElements * clang format * add onnx unit tests for the gather_elments operator * clang format * clang format * remove unnecessary files * remove unnecessary files * add a verify onnx unit test for the gather element operator * clang format Co-authored-by:
Shucai Xiao <scxiao@prj47-rack-99.local.lan> Co-authored-by:
mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 09 Jun, 2020 1 commit
-
-
kahmed10 authored
* initial progress on embedding_bag * formatting * add test * move enum * formatting * fix tidy * improve test for more coverage * formatting * update arg and test * formatting * add more tests * formatting * fix enum * formatting
-
- 08 Jun, 2020 1 commit
-
-
kahmed10 authored
* initial progress * formatting * add pooling changes * formatting * change eliminate_pad * formatting * rename var * fomratting * update op shape test and compute * formatting * revert conv constructor * formatting * change initializer * formatting * fix tidy * change quant conv and shape check * add tests and fixes * formatting * fix type * fix conv test * formatting * add pooling and bn tests * formatting * add inconsistent attr tests * fix padding issue * formatting * fix review comments, remove duplicate test * formatting * fix variable * fix assert bug * fix attr check * remove std Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 20 May, 2020 1 commit
-
-
Shucai Xiao authored
* code backup * clang format * fix compiling errors * clang format * rename a few files * rename a few files * fix variable bugs * clang format * add an operator to shift input sequences * clang format * fixed a bug * clang format * fixed a bug * clang format * code backup * clang format * code backup * clang format * code backup * clang format * refine code related lstm operator optimization * clang format * fix various bugs * clang format * fixed a bug in rewrite_lstm * clang format * fixed another bug * refine two operator names * clang format * refine file names * fix cppcheck error * clang format * fix cppcheck error * clang format * fix cppcheck error * fixed review comments * clang format * add unit tests * clang format * add unit tests * clang format * refine unit tests for better coverage * clang format * fixed a bug * fix cppcheck error * fix review comments * clang format * rename two operators according to review comments * clang format * fix review comments * clang format * fix review comments * clang format * fix review comments * fix a cppcheck error * clang format * fix review comments * clang format Co-authored-by:
Shucai Xiao <scxiao@prj47-rack-99.local.lan> Co-authored-by:
mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 16 May, 2020 1 commit
-
-
kahmed10 authored
* add range op and test * add float test * use generate for vector * formatting * fix delta arg check * fix assert * formatting Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 14 May, 2020 1 commit
-
-
kahmed10 authored
* add reflect pad and tests * formatting * modify iterators * formatting * test tidy error * fix algorithm * formatting * rename function * move conditional * formatting * fix test * fix left pad and tests Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 13 May, 2020 1 commit
-
-
Shucai Xiao authored
Co-authored-by:Paul Fultz II <pfultz2@yahoo.com>
-
- 07 May, 2020 1 commit
-
-
Paul Fultz II authored
* Add skip unknown operators flag * Formatting * Add flag to print program on error * Formatting * Fix compile error in py * Formatting * Workaround cppcheck error * Initialize with struct * Formatting * Disable warning * Formatting * Add test for print errors * Formatting * Formatting * Fix compiler error * Formatting * Formatting * Formatting * Use correct map * Formatting Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 05 May, 2020 1 commit
-
-
Shucai Xiao authored
* python api support scalar argument * clang format * add unit test for the scalar type * clang format * update to include numpy * fix package issue * fix package issue * fixed review comments * resolve review comments * remove unnecessary changes * refine a unit test for beter coverage * clang format * refine unit tests to cover code change * clang format * change unit test * refine tests * refine unit test * clang format * refine unit test * fix a dockerfile error * fix bug * scalar shape support in c++ api * clang format * fix cppcheck error * fix possible errors * clang format Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 30 Apr, 2020 2 commits
-
-
kahmed10 authored
* fix pad calc * add tile op * formatting * add test * formatting * fix tidy * formatting Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
Shucai Xiao authored
* refine slice implementation * clang format * fix cppcheck error * clang format * change parse operator function signature * clang format * add parsing the split operator * clang format * add parsing split operator * make squeeze/unsqueeze inputs to standard shape * fix a bug in parsing slice * change parsing pad to support opset 11 definition * clang format * add unit tests for the split operator * clang format * fix cppcheck error * clang format * update tests for multiple program outputs * clang format * fix cppcheck error * clang format * refine an error message * add unit tests for the pad operator * clang format * add unit tests for slice operator * clang format * fix review comments * fix cppcheck error * add the numpy package in the Dockerfile * add c api for onnx options * clang format * change c/c++ and python apis related to parse_onnx option change * clang format * fixed a bug * fix a bug * add fix bugs in cpp api * fix bugs in c api for onnx_options * clang format * add unit tests * clang format * add missing onnx file * add more unit test for dynamic input shape support * clang format * fix cppcheck error * fix cppcheck error * fix cppcheck error * clang format * fix cppcheck error * clang format * code change to resolve the segmentation problem * clang format * change the api * clang format * fixed a unit test error * fix cppcheck error * clang format * fixed a cppcheck error * fix review comments * clang format Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 24 Apr, 2020 1 commit
-
-
Shucai Xiao authored
* new onehot implemenation by combining other operators * clang format * backup * update unit tests * clang format
-
- 17 Apr, 2020 1 commit
-
-
Shucai Xiao authored
* change parse operator function signature * clang format * add parsing the split operator * clang format * add parsing split operator * make squeeze/unsqueeze inputs to standard shape * change parsing pad to support opset 11 definition * clang format * add unit tests for the split operator * clang format * fix cppcheck error * clang format * update tests for multiple program outputs * clang format * fix cppcheck error * clang format * refine an error message * add unit tests for the pad operator * clang format * fix review comments * fix unit test error Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 16 Apr, 2020 1 commit
-
-
kahmed10 authored
* add onehot and tests, add missing gen_tf for onehot * formatting * fix cast * specify onehot for error msg Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 10 Apr, 2020 1 commit
-
-
kahmed10 authored
* fix axes bug, reorder and add test * formatting * add missing test file
-
- 09 Apr, 2020 1 commit
-
-
Shucai Xiao authored
* python api support scalar argument * clang format * change parse operator function signature * clang format * add parsing the split operator * clang format * add parsing split operator * make squeeze/unsqueeze inputs to standard shape * add unit tests for the split operator * clang format * fix cppcheck error * clang format * update tests for multiple program outputs * clang format * update the function parse_graph * clang format * fixed an unit test * revert code back * remove blank line * refine an error message * add unit tests for code change * clang format * refine an error message Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-