public static Value fromId(String valueTypeString) {
            for (Value value : values()) {
                if (value.id.equals(valueTypeString)) {
                    return value;
                }
            }
            throw new IllegalArgumentException("Value type must be either 'double', 'float', " +
                                               "'bfloat16', or 'int8' but was '" + valueTypeString + "'");
        }
The permissible cell value types. Default is double.
vespajlib/src/main/java/com/yahoo/tensor/TensorType.java