Tensor aggregation (finding the min, max, mean & more)