前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
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