static Tensor from(String tensorType, String tensorString) {
        return TensorParser.tensorFrom(tensorString, Optional.of(TensorType.fromSpec(tensorType)));
    }
Returns a tensor instance containing the given data on the
<a href="https://docs.vespa.ai/en/reference/tensor.html#tensor-literal-form">tensor literal form</a>.

@param tensorType the type of the tensor to return, as a string on the tensor type format, given in
       {@link TensorType#fromSpec}
@param tensorString the tensor on the standard tensor string format
vespajlib/src/main/java/com/yahoo/tensor/Tensor.java