Python API has no AddConfigEntry and kOrtSessionOptionsConfigAllowIntraOpSpinning (#17712)

### Description
<!-- Describe your changes. -->


bcc6205161/include/onnxruntime/core/session/onnxruntime_session_options_config_keys.h (L94C74-L94C105)

### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->


@ivberg
This commit is contained in:
Arthur Kim 2023-09-27 15:33:46 +09:00 committed by GitHub
parent f3fa223ee8
commit 6b12dc5f6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@ sess_options = rt.SessionOptions()
sess_options.intra_op_num_threads = 0
sess_options.execution_mode = rt.ExecutionMode.ORT_SEQUENTIAL
sess_options.graph_optimization_level = rt.GraphOptimizationLevel.ORT_ENABLE_ALL
sess_options.AddConfigEntry(kOrtSessionOptionsConfigAllowIntraOpSpinning, "1")
sess_options.add_session_config_entry("session.intra_op.allow_spinning", "1")
```