diff --git a/include/onnxruntime/core/session/onnxruntime_c_api.h b/include/onnxruntime/core/session/onnxruntime_c_api.h index 6832cc93af..b56497ea32 100644 --- a/include/onnxruntime/core/session/onnxruntime_c_api.h +++ b/include/onnxruntime/core/session/onnxruntime_c_api.h @@ -3970,7 +3970,6 @@ struct OrtApi { */ void(ORT_API_CALL* ReleaseDnnlProviderOptions)(_Frees_ptr_opt_ OrtDnnlProviderOptions* input); - /// @} /// \name OrtKernelInfo /// Custom operator APIs. /// @{ @@ -4022,7 +4021,7 @@ struct OrtApi { * Used in the KernelCompute callback of an OrtCustomOp to get a logger that can be used to log * messages during inference. * - * \param[in] info An instance of ::OrtKernelContext. + * \param[in] context An instance of ::OrtKernelContext. * \param[out] logger Pointer set to the kernel context's ::OrtLogger. Owned by ONNX Runtime, so do not free. * * \snippet{doc} snippets.dox OrtStatus Return Value @@ -4079,13 +4078,13 @@ struct OrtApi { * \param[in] info ::OrtKernelInfo instance. * \param[in] index The node index. * \param[out] is_constant Is it a constant node input or not. - * \param[out] out The OrtValue tensor value. + * \param[out] out The OrtValue tensor value. * * \snippet{doc} snippets.dox OrtStatus Return Value * * \since Version 1.15. */ - ORT_API2_STATUS(KernelInfoGetConstantInput_tensor, _In_ const OrtKernelInfo* info, size_t index, _Out_ int* is_constant, _Outptr_ const OrtValue** out); + ORT_API2_STATUS(KernelInfoGetConstantInput_tensor, _In_ const OrtKernelInfo* info, size_t index, _Out_ int* is_constant, _Outptr_ const OrtValue** out); }; /* @@ -4197,5 +4196,4 @@ ORT_API_STATUS(OrtSessionOptionsAppendExecutionProvider_Dnnl, _In_ OrtSessionOpt #ifdef __cplusplus } #endif - -//! @} +/// @} diff --git a/include/onnxruntime/core/session/onnxruntime_cxx_api.h b/include/onnxruntime/core/session/onnxruntime_cxx_api.h index 56a2431c60..5af45b8ff3 100644 --- a/include/onnxruntime/core/session/onnxruntime_cxx_api.h +++ b/include/onnxruntime/core/session/onnxruntime_cxx_api.h @@ -1640,7 +1640,7 @@ struct Logger { * \param func_name The name of the function in which the message is logged. Usually the value of __FUNCTION__. * \param format A null-terminated UTF-8 format string forwarded to a printf-like function. * Refer to https://en.cppreference.com/w/cpp/io/c/fprintf for information on valid formats. - * \param args... Zero or more variadic arguments referenced by the format string. + * \param args Zero or more variadic arguments referenced by the format string. * \return A Ort::Status value to indicate error or success. */ template