ModelCompilationOptions_SetInputModelPath property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtModelCompilationOptions> model_compile_options, Pointer<Char> input_model_path)> >
ModelCompilationOptions_SetInputModelPath
getter/setter pair
\brief Sets the file path to the input ONNX model to compile.
The input model's location (e.g., file path or memory buffer) must be set with either ModelCompilationOptions_SetInputModelPath or ModelCompilationOptions_SetInputModelFromBuffer.
\paramin model_compile_options The OrtModelCompilationOptions instance.
\paramin input_model_path Null terminated string of the path (wchar on Windows, char otherwise).
\snippet{doc} snippets.dox OrtStatus Return Value
\since Version 1.22.
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtModelCompilationOptions> model_compile_options,
ffi.Pointer<ffi.Char> input_model_path,
)
>
>
ModelCompilationOptions_SetInputModelPath;