• turneram's avatar
    Prefix scan operator (#797) · e8ae23b1
    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: default avatarShucai Xiao <Shucai.Xiao@amd.com>
    Co-authored-by: default avatarmvermeulen <5479696+mvermeulen@users.noreply.github.com>
    e8ae23b1
op_shape_test.cpp 60 KB