private static Indexes of(DimensionSizes sizes, List<Integer> iterateDimensions) {
            return of(sizes, sizes, iterateDimensions);
        }
Create indexes from a type containing bound indexed dimensions only.

@throws IllegalStateException if the type contains dimensions which are not bound and indexed
vespajlib/src/main/java/com/yahoo/tensor/IndexedTensor.java