private static String typeMismatchExplanation(TensorType requiredType, TensorType actualType) {
        return "The required type of this is " + requiredType + ", but this function returns " + actualType +
               (actualType.rank() == 0 ? ". This is often due to missing declaration of query tensor features " +
                                         "in query profile types - see the documentation."
                                       : "");
    }
Verify that the inputs declared in the given expression exists in the given rank profile as functions,
and return tensors of the correct types.
config-model/src/main/java/com/yahoo/vespa/model/ml/ConvertedModel.java