Skip to content

Commit 6ee4ea3

Browse files
Fix C/C++ documentation generation (microsoft#25569)
### Description Fixes documentation error in onnxruntime_c_api.h: parameter name mismatch for `Graph_GetGraphView` ### Motivation and Context Fix errors in the GitHub action for generating the C/C++ documentation from public header files.
1 parent a2b4546 commit 6ee4ea3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

include/onnxruntime/core/session/onnxruntime_c_api.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5846,14 +5846,13 @@ struct OrtApi {
58465846

58475847
/** \brief Returns an OrtGraph that contains a subset of nodes in the source OrtGraph.
58485848
*
5849-
* Note:
5850-
* The lifetime of "dst_graph" is tied to that of "src_graph", as they both internally reference
5849+
* \note The lifetime of "dst_graph" is tied to that of "src_graph", as they both internally reference
58515850
* the same underlying graph.
58525851
*
58535852
* \param[in] src_graph The source OrtGraph instance.
58545853
* \param[in] nodes A subset of the nodes/OrtNodes in 'graph'.
58555854
* \param[in] num_nodes Number of nodes.
5856-
* \param[out] dst_sub_graph An OrtGraph created from a given set of nodes. Must be released by calling ReleaseGraph.
5855+
* \param[out] dst_graph An OrtGraph created from a given set of nodes. Must be released by calling ReleaseGraph.
58575856
*
58585857
* \snippet{doc} snippets.dox OrtStatus Return Value
58595858
*

0 commit comments

Comments
 (0)