private String toString(boolean withType, boolean shortForms, long maxCells) {
        if (! shortForms || type.rank() == 0 || type.dimensions().stream().anyMatch(d -> d.size().isEmpty()))
            return Tensor.toStandardString(this, withType, shortForms, maxCells);

        Indexes indexes = Indexes.of(dimensionSizes);
        StringBuilder b = new StringBuilder();
        if (withType)
            b.append(type).append(":");
        indexedBlockToString(this, indexes, maxCells, b);
        return b.toString();
    }
Returns the value at the given <i>standard value order</i> index as a float.

@param valueIndex the direct index into the underlying data.
@throws IllegalArgumentException if index is out of bounds
vespajlib/src/main/java/com/yahoo/tensor/IndexedTensor.java