InterOpNumThreads

OnnxRuntimeSessionOptions.InterOpNumThreads property

用于并行运行多个操作的线程数。如果在 ExecutionMode 属性中启用了顺序执行 (ExecutionModeOnnx.ORT_SEQUENTIAL),则此值将被忽略。

public static int InterOpNumThreads { get; set; }

另请参见