public static TensorType createPartialType(TensorType.Value valueType, List<TensorType.Dimension> dimensions) {
        TensorType.Builder builder = new TensorType.Builder(valueType);
        for (TensorType.Dimension dimension : dimensions) {
            builder.set(dimension);
        }
        return builder.build();
    }
An immutable index into a list of cells.
Contains additional information required
for handling mixed tensor addresses.
Assumes indexed dimensions are bound.
vespajlib/src/main/java/com/yahoo/tensor/MixedTensor.java