sum method

Tensor sum()

Implementation

Tensor sum() {
  final h = engine.sumTensor(this.handle);
  return Tensor._raw(h, [1, 1]);
}