@Override
    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof DimensionSizes)) return false;
        return Arrays.equals(((DimensionSizes) o).sizes, this.sizes);
    }
Returns the product of the sizes of this
vespajlib/src/main/java/com/yahoo/tensor/DimensionSizes.java