Node_GetGraph property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtNode> node, Pointer<Pointer<OrtGraph> > graph)> >
Node_GetGraph
getter/setter pair
\brief Get the node's parent OrtGraph instance.
Can return NULL if the OrtNode was created without an owning graph.
In another case, this API may also return NULL if node is obtained by calling Graph_GetParentNode()
on an OrtGraph that is a subgraph of a control-flow op, and the parent graph has not been created yet,
for example during ORT's GetCapability() when processing the innermost subgraph.
\paramin node The OrtNode instance.
\paramout graph Output parameter set to the node's OrtGraph. Can be set to NULL
if the node is not currently contained by a graph.
\snippet{doc} snippets.dox OrtStatus Return Value
\since Version 1.23.
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtNode> node,
ffi.Pointer<ffi.Pointer<OrtGraph>> graph,
)
>
>
Node_GetGraph;