onnxruntime/onnxruntime/python
Severin Simmler 90754fc077
Fix invalid escape sequence (#17145)
### Description
- Removed one unused import
- Escaped a backslash in a path

### Motivation and Context
I see this `DeprecationWarning` when I import `onnxruntime`:

```
onnxruntime/capi/_pybind_state.py:28: DeprecationWarning: invalid escape sequence '\S'
    "(other than %SystemRoot%\System32), "
```

A future version of Python (maybe 3.13?) will raise a `SyntaxError` for
invalid escape sequences.
2023-08-15 10:29:54 -07:00
..
backend Disable PERF* rules in ruff to allow better readability (#16834) 2023-07-25 15:38:22 -07:00
datasets
providers/tvm Bump ruff in CI (#15533) 2023-04-17 10:11:44 -07:00
tools Refactoring of Stable Diffusion scripts (#17138) 2023-08-15 09:36:31 -07:00
torch_cpp_extensions
training
__init__.py
_ld_preload.py
_pybind_state.py.in Fix invalid escape sequence (#17145) 2023-08-15 10:29:54 -07:00
exported_symbols.lst
numpy_helper.h
onnxruntime_collect_build_info.py
onnxruntime_inference_collection.py RunAsync Python API (#16760) 2023-08-02 10:15:34 -07:00
onnxruntime_pybind.h
onnxruntime_pybind_exceptions.cc Run clang-format in CI (#15524) 2023-04-18 09:26:58 -07:00
onnxruntime_pybind_exceptions.h
onnxruntime_pybind_iobinding.cc [DML EP] Add I/O binding and If operator (#16859) 2023-07-31 19:45:59 -07:00
onnxruntime_pybind_mlvalue.cc [DML EP] Add I/O binding and If operator (#16859) 2023-07-31 19:45:59 -07:00
onnxruntime_pybind_mlvalue.h [DML EP] Add I/O binding and If operator (#16859) 2023-07-31 19:45:59 -07:00
onnxruntime_pybind_module.cc Expose build information in dynamic lib (#15643) 2023-04-28 21:57:31 -07:00
onnxruntime_pybind_ortvalue.cc [DML EP] Add I/O binding and If operator (#16859) 2023-07-31 19:45:59 -07:00
onnxruntime_pybind_schema.cc Openvino ep ort 5.1 (#17042) 2023-08-09 11:50:10 -07:00
onnxruntime_pybind_sparse_tensor.cc
onnxruntime_pybind_state.cc Openvino ep ort 5.1 (#17042) 2023-08-09 11:50:10 -07:00
onnxruntime_pybind_state.h
onnxruntime_pybind_state_common.cc
onnxruntime_pybind_state_common.h Openvino ep ort 5.1 (#17042) 2023-08-09 11:50:10 -07:00
onnxruntime_validation.py
pybind.def
version_script.lds
version_script_expose_onnx_protobuf.lds