Created by: reyoung
As a basic math operator, the sum operator should support double/float/int/int64, since sum could be used in many situation. Some of them, needs int/int64. For example, accumulate the number of correct samples while training
sum