• Adam Procter's avatar
    Update reference kernels, constant folding to support auto-broadcast directly (#3382) · 31fae943
    Adam Procter authored
    * WIP
    
    * CHANGE_DYNAMIC_STATE
    
    * Implement full type prop for DynBroadcast when inputs const/static; clean up pass properties
    
    * Add a unit test for the late-constness thing
    
    * Update reference, interp, constant folding to handle autobroadcast
    
    * Document the autobroadcast helper, and fix a corner case (zero's a number too!)
    
    * Tests, and insert a check within the CPU folders for autobroadcast (it's still unsupported)
    
    * Remove unnecessary include
    
    * EXPECT_EQ -> ASSERT_EQ, for consistency
    
    * Replace assert for CPU folders with a fallback
    31fae943
constant_folding.cpp 47.7 KB