SessionOptionsSetCustomCreateThreadFn property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtSessionOptions> options, OrtCustomCreateThreadFn ort_custom_create_thread_fn)>> SessionOptionsSetCustomCreateThreadFn
getter/setter pair

\name SessionOptions @{ /** \brief Set custom thread creation function *

  • \paramin options Session options
  • \paramin ort_custom_create_thread_fn Custom thread creation function
  • \snippet{doc} snippets.dox OrtStatus Return Value */

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtSessionOptions> options,
      OrtCustomCreateThreadFn ort_custom_create_thread_fn,
    )
  >
>
SessionOptionsSetCustomCreateThreadFn;