public static TensorType fromSpec(String specString) {
        return fromSpec(specString, null);
    }
Class for parsing a tensor type spec.

@author geirst
@author bratseth
vespajlib/src/main/java/com/yahoo/tensor/TensorTypeParser.java