SetInterOpNumThreads property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtSessionOptions> options, Int inter_op_num_threads)> >
SetInterOpNumThreads
getter/setter pair
\brief Sets the number of threads used to parallelize the execution of the graph
If nodes can be run in parallel, this sets the maximum number of threads to use to run them in parallel.
\note If sequential execution is enabled this value is ignored, it acts as if it was set to 1.
\paramin options
\paramin inter_op_num_threads Number of threads to use
A value of 0 will use the default number of threads
\snippet{doc} snippets.dox OrtStatus Return Value
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtSessionOptions> options,
ffi.Int inter_op_num_threads,
)
>
>
SetInterOpNumThreads;