private double dotProduct(Tensor tensor, List<Tensor> tensors, int iterations) {
        double result = 0;
        for (int i = 0 ; i < iterations; i++)
            result = dotProduct(tensor, tensors);
        return result;
    }
Microbenchmark of a "dot product" of two mapped rank 2 tensors

@author bratseth
vespajlib/src/test/java/com/yahoo/tensor/MatrixDotProductBenchmark.java