public static Builder of(TensorType type, float[] values) {
            if (type.hasOnlyIndexedBoundDimensions())
                return of(type, BoundBuilder.dimensionSizesOf(type), values);
            else
                return new UnboundBuilder(type);
        }
Creates a builder initialized with the given values

@param type the type of the tensor to build
@param values the initial values of the tensor. This <b>transfers ownership</b> of the value array - it
              must not be further mutated by the caller
vespajlib/src/main/java/com/yahoo/tensor/IndexedTensor.java