• Shucai Xiao's avatar
    Normalize ops (#667) · 8443ecd1
    Shucai Xiao authored
    
    
    * add a pass to normalize ops
    
    * clang format
    
    * add unit tests
    
    * clang format
    
    * code backup
    
    * clang format
    
    * code backup
    
    * clang format
    
    * add support for slice in the normalize_op function
    
    * clang format
    
    * add operation method api for whether we need to call normalize_op
    
    * clang format
    
    * fix review comments
    
    * clang format
    
    * rename a function namejJ
    
    * clang format
    
    * change compute_shape to normalize_compute_shape for corresponding operators
    
    * clang format
    
    * remove unnecessary code
    
    * fix various issues
    
    * clang format
    
    * add attributes to operators having axis attributes
    
    * clang format
    
    * fixed jenkins build error
    
    * clang format
    
    * fix a bug related to slice
    
    * clang format
    
    * code backup
    
    * clang format
    
    * code backup
    
    * clang format
    
    * rename a file
    
    * fix cppcheck error
    
    * some code refinement
    
    * clang format
    
    * change attributes to enum
    
    * clang format
    
    * refine the enum
    
    * clang format
    
    * remove unnecessary code
    
    * add unit tests for more code coverage and fixed a bug
    
    * clang format
    
    * remove unnecessary changes
    
    * change normalize_axes to normalize
    
    * clang format
    
    * revert back the changes in broadcast.hpp
    
    * rename normalize_axes to normalize
    
    * fix review comments
    
    * clang format
    
    * Add flag to enable cpu backend
    
    * Make buffers shared
    
    * Enable optimizations
    
    * Formatting
    
    * Try to avoid ambiguous assign in value class
    
    * fixed a build error
    
    * clang format
    
    * add the normalize_ops pass to the ref target
    
    * refactor program to module to normalize_ops pass
    Co-authored-by: default avatarPaul <pfultz2@yahoo.com>
    Co-authored-by: default avatarmvermeulen <5479696+mvermeulen@users.noreply.github.com>
    8443ecd1
gather.cpp 1.58 KB