public void addArgumentTypeSerialization(String functionName, String argumentName, TensorType type) {
        serializedFunctions.put(wrapInRankingExpression(functionName) + "." + argumentName + ".type", type.toString());
    }
Adds the serialization of the argument type to a function
searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/rule/SerializationContext.java