//clika-runtime/io.clika.runtime/Tensor/sum sum [common] fun sum(): Tensor The whole-tensor sum, a 0-D tensor. [common] fun sum(dims: LongArray, keepdim: Boolean = false): Tensor The sum along dims; keepdim keeps the reduced dims as size 1.