• Paul Fultz II's avatar
    Add a pass to remove unsupported data types (#738) · 3d24a21c
    Paul Fultz II authored
    
    
    * Add eliminate_data_type pass
    
    * Formatting
    
    * Auto convert quant ops
    
    * Formatting
    
    * Flip the order of decompose
    
    * Compute max size differently
    
    * Formatting
    
    * Clamp values in convert
    
    * Formatting
    
    * Fix loss of precision in reduce
    
    * Formatting
    
    * Fix bugs in reduction
    
    * Fix accumulator type in reference softmax implementation
    
    * Formatting
    
    * Update convert test
    
    * Remove unused variables
    
    * Remove unnecessary quant_dot check
    
    * Formatting
    
    * Add tests
    
    * Formatting
    
    * Remove unused code
    
    * Remove duplicate ops
    
    * Remove blaze dependency
    
    * Use set since shape::type_t is no hashable on gcc 5
    
    * Formatting
    Co-authored-by: default avatarShucai Xiao <shucai@gmail.com>
    Co-authored-by: default avatarmvermeulen <5479696+mvermeulen@users.noreply.github.com>
    3d24a21c
gemm.cpp 1.61 KB