• Amy Zhuang's avatar
    Use cpu kernel for constant folding. (#2538) · 3f017a1e
    Amy Zhuang authored
    * Use cpu kernel for constant folding.
    
    * Add default empty map.
    
    * Fix a bug.
    
    * Add new files.
    
    * Address PR feedback.
    
    * Check constant folding map before checking type for unary and binary ops.
    
    * Address PR feedback.
    
    * Address PR feedback.
    
    * Use all_close_f.
    
    Add relu unit test.
    
    Make changes for sqrt and pad.
    
    * Fix a bug.
    3f017a1e
cpu_test.cpp 49.3 KB