RunOptionsSetTerminate property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtRunOptions> options)>> RunOptionsSetTerminate
getter/setter pair

\brief Set terminate flag

If a currently executing session needs to be force terminated, this can be called from another thread to force it to fail with an error.

\paramin options

\snippet{doc} snippets.dox OrtStatus Return Value

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(ffi.Pointer<OrtRunOptions> options)
  >
>
RunOptionsSetTerminate;