@Override
    public String toAbbreviatedString(boolean withType, boolean shortForms) {
        return toString(withType, shortForms, Math.max(2, 10 / (type().dimensions().stream().filter(TensorType.Dimension::isMapped).count() + 1)));
    }
Returns an iterator over the values of this tensor.
The iteration order is the same as for cellIterator.
vespajlib/src/main/java/com/yahoo/tensor/MixedTensor.java