AddGraphToModel property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtModel> model, Pointer<OrtGraph> graph)> >
AddGraphToModel
getter/setter pair
\brief Add an OrtGraph to an OrtModel.
Add the graph to a model. This should be called once when creating a new model.
The OrtModel takes ownership of the OrtGraph and you should NOT call ReleaseOrtGraph.
\paramin model The OrtModel instance to update.
\paramin graph The OrtGraph instance to add to the model.
\snippet{doc} snippets.dox OrtStatus Return Value
\since Version 1.22.
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtModel> model,
ffi.Pointer<OrtGraph> graph,
)
>
>
AddGraphToModel;