private void decodeBFloat16Cells(DimensionSizes sizes, IndexedTensor.BoundBuilder builder, GrowableByteBuffer buffer) {
        for (long i = 0; i < sizes.totalSize(); i++) {
            builder.cellByDirectIndex(i, TypedBinaryFormat.floatFromBFloat16Bits(buffer.getShort()));
        }
    }
Returns dimension sizes from a type consisting of fully specified, indexed dimensions only
vespajlib/src/main/java/com/yahoo/tensor/serialization/DenseBinaryFormat.java