Created by: chengduoZH
Elementwise sub,div,min,max gradient functor can be optimized as elementwise_add.