Skip to content
2 changes: 1 addition & 1 deletion include/onnxruntime/core/graph/indexed_sub_graph.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ struct IndexedSubGraph {
std::string domain; ///< Domain of customized SubGraph/FunctionProto
int since_version; ///< Since version of customized SubGraph/FunctionProto.

ONNX_NAMESPACE::OperatorStatus status; ///< Status of customized SubGraph/FunctionProto.
ONNX_NAMESPACE::OperatorStatus status{ONNX_NAMESPACE::OperatorStatus::STABLE}; ///< Status of customized SubGraph/FunctionProto.

std::vector<std::string> inputs; ///< Inputs of customized SubGraph/FunctionProto.
std::vector<std::string> outputs; ///< Outputs of customized SubGraph/FunctionProto.
Expand Down
2 changes: 1 addition & 1 deletion include/onnxruntime/core/session/onnxruntime_c_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -5829,7 +5829,7 @@ struct OrtApi {
*
* \since Version 1.23.
*/
ORT_API2_STATUS(Graph_GetNodes, const OrtGraph* graph,
ORT_API2_STATUS(Graph_GetNodes, _In_ const OrtGraph* graph,
_Out_writes_(num_nodes) const OrtNode** nodes, _In_ size_t num_nodes);

/** \brief Get the parent node for the given graph, if any exists.
Expand Down
312 changes: 210 additions & 102 deletions include/onnxruntime/core/session/onnxruntime_cxx_api.h

Large diffs are not rendered by default.

Loading
Loading