- 16 Jun, 2021 1 commit
-
-
Shucai Xiao authored
* backup implementation of resize enhancement * clang format * code backup for the resize * clang format * fix build error for resize operator * clang format * tmp code backup * clang format * code backup * clang format * remove changes in parse_resize * remove unnecessary changes * clang format * add unit test for the bug * clang format * remove print code * remove a semi-colon * clang format * fix a tidy error * clang format * add contiguous for nonstd input for the resize operator * clang format * code backup * clang format * fix build error * code backup * clang format * code backup * code backup * clang format * add unit tests for resize_linear * clang format * refine a function name * clang format * fix cppcheck error * clang format * fix cppcheck error * fix review comments * clang format * backup code changes * clang format * add unit tests for resize operator * clang format * remove an unused header file * remove an unused header file * remove unrelated unit tests * refine parsing resize inputs * clang format * fix cppcheck error * fix cppcheck error * remove unnecessary code * clang format * fix cppcheck error * clang format * fixed a bug * clang format * fix review comments * clang format Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 10 Jun, 2021 1 commit
-
-
Cagri Eryilmaz authored
* init reverseOp branch: ref op + ref test. WIP * first passing basic test * cleanup * additional axis implementation * additional test * ref op implementation vec to int for axis * ref op test change for axis * initial gpu files and test * updates to implementation and test * fixed some issues * clang format * cleanup * formatting * removing comments * changes to parse_slice.cpp debug copy * cleanup + additional axis for reverse instruction * formatting * remove local size, back to default * update tests: replace with std functions * multiple axis for reverse op * fix a build error * clang format * changes to parse_slice.cpp debug copy * cleanup + additional axis for reverse instruction * formatting * axes update to parse slice * typo * more tests * fix a bug for the reverse device function * clang format * fix a bug * clang format * ref test updates, multiaxis * formatting * formatting, cleanup bool op * casting for tidy warning * tidy fix * remove bool, add steps, check only negative axis * clang-format * step op for parse slice * cleanup & format * missing axis for logsoftmax_nonstd_input_test * updated onnx file for logsoftmax_nonstd_input_test * updates to parse slice. tests for slice+reverse, slice+step+reverse * removing tests for slice+step+reverse as step requires normalization, will move it to other branch. removed related lines and tests * duplicate test removal * some refinement of the code * clang format * undefined behavior fix * undef behavior v2 * formatting * formatting & updates * change to parse slice * update to parse_slice for undef/asan + test update * formatting * remove header, no if * assertions + change the loop from axis to steps for logsoftmax test segfault Co-authored-by:
Shucai Xiao <Shucai.Xiao@amd.com> Co-authored-by:
mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 26 Apr, 2021 1 commit
-
-
turneram authored
* Add scan struct; add initial tests; initial algorithm by cases; refactor into one algorithm; clean up code * Rename; restructure; begin adding additional attributes * refactor to use shape_for_each; temporarily drop reverse mode * Add back reverse mode with shape_for_each_reverse; update tests; add axis bounds check * Begin adding to onnx parser * Add to onnx parser * Fix onnx test * Fix CI warnings * Update algorithm to use slice+par_for; update gen_onnx; remove .o files; remove redundant axis normalizing * Add exclusive mode * Add reverse mode * Remove .pyc file * Fix warning * Remove shape_for_each_reverse; clean up pointer usage for exclusive cases * Remove unused variable * Fix onnx test * Add test case to op_shape_test * Formatting * Formatting * Fix tidy warning * Formatting * Formatting * Formatting * Increase code coverage * Formatting * refine the script for creating the cumsum onnx file * Alphabetize includes for operators.hpp * Revise onnx test * Remove redundant bounds check * Formatting and style * Alphabetize tests * Remove duplicate tests from merge * Fix tidy warning for sub_test Co-authored-by:
Shucai Xiao <Shucai.Xiao@amd.com> Co-authored-by:
mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 23 Apr, 2021 1 commit
-
-
Shucai Xiao authored
* add support for axes inputs for sequeeze/unsqueeze/reduce_sum * clang format * fix build problems * backup code changes * clang format * fix a bug in parsing quantizelinear operator * clang format * fix a cppcheck error * disable different versions of unit tests for different onnx version * clang format * upgrade onnx to 1.8 * update onnx to 1.8.1 * disable two more real models * clang format * fix review comments * fix the function of assign axes in parsing the squeeze operator * add unit tests and fix a bug * clang format * fix review comments * clang format * fix a build error * backup code changes * clang format * add more unit tests and add parsing opset version * clang format * fix cppcheck error * adding installing the onnx package * resolve no protobuf compiler * fix cppcheck error * add unit tests for more code coverage * clang format * try a comment in jenkins build * include the install onnnx line * code backup * reorder the dependenciesd installed * refine dockerfile * fix review comments * clang format Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 07 Apr, 2021 1 commit
-
-
Shucai Xiao authored
* add a contiguous check before the reshape in parsing resize * clang format * add a unit test to the fix in parse_resize * clang format
-
- 05 Apr, 2021 1 commit
-
-
Shucai Xiao authored
* code cleanup * clang format * backup code * clang format * remove unnecessary code * clang format * add module print function * code backup * refine the module::print function * refine the module:to_value() function * code backup * backup code changes * code backup * remove to_value and from_value function from the module class * rename a function * rename the if operator * refine the if operator * refine the print function of module and program * code backup * code backup * fix a build warning * fix overload of compute_shape function * code backup * fix unit test error * fix cppcheck error * fix the issue related to the overload of compute_shape * fix review comments * fix cppcheck error * change the return name of if_op to be if * clang format * fix two unit tests * clang format * rename variables * clang format * remove the unused compute_op function * clang format * add lowering of if operator and compute_op function * clang format * add parsing if operator in onnx file * clang format * fix clang tidy format * clang format * add the gpu implementation of the if operator * enhance the validate function and uncomment a unit test * clang format * remove unnecessary code * add sub_module processing in ref passes * clang format * clang format * fix a hang issue related to the valid function * fix an issue in replace_refs * clang format * fix review comments * clang format * fix cppcheck error * clang format * add a unit test for more code coverage * clang format * fix review comments and add test for more code coverage * clang format * fix cppcheck error * clang format * fix cppcheck error * fix a cppcheck error * clang format * backup code * clang format * fix cppcheck error * clang format * some code refinement * clang format * code backup to handle submodules in module compilation * clang format * code backup * clang format * code backup * clang format * fix a bug related to literal id * fix a bug in gpu execution * change the way of compiling a graph * clang format * backup more changes * clang format * refine pass log information * remove unnecessary code * clang format * temp changes backup * clang format * add module name prefix to scratch memory id in hip_memory_allocation * clang format * change to copy the cond input by inserting a copy instruction * clang format * change to use the if output argument as the submodule output so can remove a gpu_copy * clang format * consider submodule in some compile passes * clang format * fix review comments * clang format * fix issues related to scratch memory * clang format * remove unnecessary code * fix cppcheck error * clang format * reslove the implicit dependencies issue related to submodule * clang format * fix cppcheck error * clang format * backup temp changes * clang format * fixed an bug in the has_instruction function * clang format * fix the return value of the gpu implementation of the if operator * fix a bug in the compute_shape function in the gpu implementation * add an if onnx unit test * clang format * add more unit tests * clang format * tmp code backup * clang format * fix a sync problem related to copy cond argument from gpu to cpu * clang format * change the compile offload copy flag setting * clang format * enable copy from cpu to be able to do synchronous copy * clang format * add more unit tests * add more unit tests * add more ref unit tests * clang format * fixed a bug error * tmp code backup * clang format * fixed an onnx verify unit test * add more unit tests * clang format * reverse a change * fix cppcheck error * fix cppcheck error * fix to print all instructions in program execution * clang format * fix bugs related to memory coloring and offload copy to be true * clang format * remove unnecessary include header file * sort test cases in ref_cpu_ops alphabetically * clang format * add a flag to disable cpu target in verification test * change the way to disable some tests * clang format * disable verify unit test of the if operators * add a function call to have more code coverage * fix a build error * fix review comments * fix review comments * clang format * add a api gpu unit test for more code coverage * clang format * change to use instruction.size() as node index * move the calc_implicit_deps function to module class as a member function * clang format * move the offload_copy flag setting to lowering * clang format * assign the module_eval lambda function to a variable to simplify code * clang format * move the compute function from ref/gpu implementation to the main if operator * clang format * fix cpp check error * add a unit test for more code coverage * clang format * add unit test to calculate implicit deps * add a python unit test * clang format * refine a unit test to have more code coverage * clang format * chang the way of wrap up arguments for sub modules * clang format * fix some build errors * code cleanup * refine unit tests to have more code coverage * clang format * refine unit test to have more code coverage * code backup * clang format * add memory coloring test * refine memory coloring unit test * clang format * remove an unnecessary line * remove an unused line * remove an unnecessary parameter in the lambda function * clang format * refine a unit test * remove an unnecessary line * refine unit tests to have more code coverage * clang format * combine two lines * add one more unit test for more code coverage * clang format * add one more unit test * clang format * fix review comments * refine a print out information * fix review comments * clang format * change the sync copy to using a gpu device sync * clang format * remove unnecessary code Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 12 Mar, 2021 1 commit
-
-
Cagri Eryilmaz authored
* onnx tests for lessorequal operator * lessorequal operator implementation * added test to verify_onnx.cpp * changes to tests * formatting * fixing tidy Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 26 Feb, 2021 2 commits
-
-
Cagri Eryilmaz authored
* changes for not operator * changed name of the op from unary_not to not * Added tests for op and onnx parsing * reordering not_test in onnx_test.cpp * not operator -- gpu implementation * added bool test for not operator * Added test and missing links for not operator on GPU * typo fix * adding .onnx test files for not operator * formatting Co-authored-by:
Shucai Xiao <shucai@gmail.com> Co-authored-by:
mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
Shucai Xiao authored
* if operator support with constant condition input * clang format * add a missing file * clang format * add an onnx verifcation unit test for the if operator * clang format' * fix review comments * temp version to try jenkin build * remove unnecessary changes * unit tests refinement for more code coverage * clang format * try a mutex to fix possible race condition in onnxruntime tests * tmp changes to try jenkins build * remove unnecessary code * fix review comments Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 23 Feb, 2021 1 commit
-
-
kahmed10 authored
Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 06 Feb, 2021 1 commit
-
-
Shucai Xiao authored
* fix a bug that softmax/logsoftmax cannot handle nonstd input shape * clang format * fix review comments * clang format * refine test to have more code coverage * clang format Co-authored-by:mvermeulen <5479696+mvermeulen@users.noreply.github.com>
-
- 19 Jan, 2021 1 commit
-
-
Shucai Xiao authored
* add the and operator * clang format * add unit tests for the and operator * clang format * change the and name to logical_and and add the logical_or, logical_xor * clang format * add onnx unit tests for or and xor * add more unit tests
-
- 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
-
- 08 Jan, 2021 1 commit
-
-
Shucai Xiao authored
* add support of the different input data_type for the pow operator * clang format * fix cppcheck error * clang format * add unit test for the pow operator with different input data types * clang format * remove unnecessary comments * fix review comments * clang format * fix a issue related to hash table key type * clang format 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>
-
- 01 Sep, 2020 1 commit
-
-
Shucai Xiao authored
* fix a bug in parsing clip * clang format * add unit tests * clang format
-
- 31 Aug, 2020 1 commit
-
-
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>
-
- 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>
-
- 14 Aug, 2020 1 commit
-
-
kahmed10 authored
* fix pad calc * bert tf passes correctness * formatting * add test * formatting * remove comment * add inline * formatting * fix order for literal * formatting * test no mul_add * formatting * debug layernorm * debug layernorm * manual merge * more progress * formatting * remove miopen batchnorm * remove headers * Fix compile error with no dpp reductions * fix indices * formatting * change matcher * formatting * remove binds * formatting * disable tf matcher * formatting * use fast div * formatting * fix matcher * formatting * remove comment * move find_matches * add assert * formatting * fix deepcode issue Co-authored-by:
Paul <pfultz2@yahoo.com> Co-authored-by:
Shucai Xiao <shucai.xiao@amd.com> 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 2 commits
-
-
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>
-
Shucai Xiao authored
* add quantization_fp16 c api * clang format * add quantization c api * clang format * backup code for add_c_api of quantization * add c/c++ api for the quantization * clang format * fix a cppcheck error * fix cpp check error * add unit test for quantization apis * clang format * fix cppcheck error * clang format * refine unit tests to cover more code changes * clang format * refine unit tests for more code change coverage * add an op_names class * clang format * refine a unit test for more code change coverage * code backup * clang format * remove unnecessary code * fix review comments * clang format 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>
-
- 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>
-
- 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 1 commit
-
-
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>
-
- 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
-