Graph_GetParentNode property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtGraph> graph, Pointer<Pointer<OrtNode> > node)> >
Graph_GetParentNode
getter/setter pair
\brief Get the parent node for the given graph, if any exists.
Certain operator types (e.g., If and Loop) contain nested subgraphs. This function enables access to the parent node (e.g., the If and Loop node) from a nested subgraph.
\paramin graph The OrtGraph instance.
\paramout node Output parameter that is set to the graph's parent node.
Set to NULL if a parent node does not exist (e.g., for a top-level graph).
\snippet{doc} snippets.dox OrtStatus Return Value
\since Version 1.23.
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtGraph> graph,
ffi.Pointer<ffi.Pointer<OrtNode>> node,
)
>
>
Graph_GetParentNode;