Graph_GetModelPath property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtGraph> graph, Pointer<Pointer<Char> > model_path)> >
Graph_GetModelPath
getter/setter pair
\brief Get the filepath to the model from which an OrtGraph is constructed.
\note The model's filepath is empty if the filepath is unknown, such as when the model is loaded from bytes via CreateSessionFromArray.
\paramin graph The OrtGraph instance.
\paramout model_path Output parameter set to the model's null-terminated filepath.
Set to an empty path string if unknown.
\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<ffi.Char>> model_path,
)
>
>
Graph_GetModelPath;