public TensorType build() {
            return new TensorType(valueType, dimensions.values());
        }
Returns the given dimension, or empty if none is present
vespajlib/src/main/java/com/yahoo/tensor/TensorType.java