From bd7a0fb3777b511f2a2fbbaaf1e0aefcd1f816e4 Mon Sep 17 00:00:00 2001 From: Dmitri Smirnov Date: Fri, 17 May 2024 23:23:20 -0700 Subject: [PATCH] [C API Docs ] Address doxygen errors (#20714) ### Description Make C API compliant with Doxygen expectations ### Motivation and Context Doc workflow is failing. --- include/onnxruntime/core/session/onnxruntime_c_api.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/include/onnxruntime/core/session/onnxruntime_c_api.h b/include/onnxruntime/core/session/onnxruntime_c_api.h index b4be501d3f..67cc493f04 100644 --- a/include/onnxruntime/core/session/onnxruntime_c_api.h +++ b/include/onnxruntime/core/session/onnxruntime_c_api.h @@ -1847,8 +1847,8 @@ struct OrtApi { * and not present, the function returns success and out is set to nullptr. * * \param[in] context ::OrtKernelContext instance - * \param[in] input index. See KernelContext_GetInputCount for boundaries check. - * \param[in, out] returns a ptr to OrtValue if the input is present + * \param[in] index See KernelContext_GetInputCount for boundaries check. + * \param[out] out OrtValue if the input is present otherwise is set nullptr * * \snippet{doc} snippets.dox OrtStatus Return Value */ @@ -1861,8 +1861,10 @@ struct OrtApi { * and not present, the function returns success and out is set to nullptr. * * \param[in] context ::OrtKernelContext instance - * \param[in] output index. See KernelContext_GetOutputCount for boundaries check. - * \param[in, out] returns a ptr to OrtValue if the output is present + * \param[in] index See KernelContext_GetOutputCount for boundaries check. + * \param[in] dim_values output dimensions + * \param[in] dim_count number of dimensions + * \param[out] out a ptr to OrtValue to output otherwise set to nullptr * * \snippet{doc} snippets.dox OrtStatus Return Value */