• Shucai Xiao's avatar
    Optimize resize and where operators (#784) · 17485202
    Shucai Xiao authored
    
    
    * code backup
    
    * clang format
    
    * add a matcher related to the special resize case for optimization
    
    * clang format
    
    * code backup
    
    * clang format
    
    * code backup
    
    * remove unnecessary code
    
    * add optimization for the where op
    
    * clang format
    
    * fix cppcheck error
    
    * add a unit test for optimize resize
    
    * clang format
    
    * remove unnecessary header include
    
    * code backup
    
    * clang format
    
    * add unit tests for optimizing resize
    
    * clang format
    
    * add more unit test for optimizing where op
    
    * clang format
    
    * remove unnecessary code
    
    * add one more optimzation to remove contiguous
    
    * clang format
    
    * add a pointwise requirement
    
    * clang format
    
    * fix cppcheck error
    
    * add one more unit test
    
    * fixed a bug
    
    * clang format
    
    * remove unnecessary code
    
    * clang format
    
    * fix a build error
    
    * fix review comments
    
    * clang format
    
    * fix a review comments
    
    * clang format
    
    * code refinement
    
    * clang format
    
    * refine more code
    
    * refine more code
    
    * fix a bug related to reshape_cont optimization
    
    * clang format
    
    * fix a review comment
    
    * removed an unnecessary comment
    
    * refine code according to comments
    
    * clang format
    Co-authored-by: default avatarmvermeulen <5479696+mvermeulen@users.noreply.github.com>
    17485202
simplify_algebra.cpp 36.1 KB