torch.sym_sum
- torch.sym_sum(*args)
N-ary add which is faster to compute for long lists than iterated binary addition. Only does something special for integers.
Accepts both
sym_sum([a, b, c])andsym_sum(a, b, c).- Return type:
N-ary add which is faster to compute for long lists than iterated binary addition. Only does something special for integers.
Accepts both sym_sum([a, b, c]) and sym_sum(a, b, c).
IntLikeType