AddNodeToGraph property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtGraph> graph, Pointer<OrtNode> node)>> AddNodeToGraph
getter/setter pair

\brief Add an OrtNode to an OrtGraph

Add the node to the graph. The OrtGraph will take ownership of OrtNode and you should NOT call ReleaseOrtNode.

\paramin graph The OrtGraph instance to update. \paramin node The OrtNode instance to add to the graph.

\snippet{doc} snippets.dox OrtStatus Return Value

\since Version 1.22.

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtGraph> graph,
      ffi.Pointer<OrtNode> node,
    )
  >
>
AddNodeToGraph;