@Override
    public Object convertFrom(Object o, ConversionContext context) {
        if (o instanceof SubstituteString) return new SubstituteStringTensor((SubstituteString) o, type);
        return new TensorConverter(context.embedders()).convertTo(type, context.destination(), o,
                                                                  context.language(), context.contextValues(), context.properties());
    }
Returns information about the type of tensor this will hold
container-search/src/main/java/com/yahoo/search/query/profile/types/TensorFieldType.java