public Builder mapped(String name) {
            return add(new MappedDimension(name));
        }
Adds a mapped dimension to this

@throws IllegalArgumentException if the dimension is already present
vespajlib/src/main/java/com/yahoo/tensor/TensorType.java