Loop operator (#853)
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>
Showing
src/targets/gpu/loop.cpp
0 → 100644
src/targets/gpu/lowering.cpp
100755 → 100644
File added
test/onnx/loop_test.onnx
0 → 100644
test/ref_loop_test.cpp
0 → 100644
test/run_loop_test.cpp
0 → 100644
test/verify/test_loop.cpp
0 → 100644
Please register or sign in to comment