Skip to content

Commit d7c444f

Browse files
committed
fix format
1 parent 2f1db4b commit d7c444f

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

onnxruntime/test/python/onnxruntime_test_python.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,12 @@ def test_set_providers_with_options(self):
303303
session_options = C.get_default_session_options()
304304

305305
# TRT plugins registered as custom op domain should only be added once in session option regardless of number of session creation
306-
sess1 = onnxrt.InferenceSession(get_name("mul_1.onnx"), session_options, providers=["TensorrtExecutionProvider"])
307-
sess2 = onnxrt.InferenceSession(get_name("mul_1.onnx"), session_options, providers=["TensorrtExecutionProvider"])
306+
sess1 = onnxrt.InferenceSession(
307+
get_name("mul_1.onnx"), session_options, providers=["TensorrtExecutionProvider"]
308+
)
309+
sess2 = onnxrt.InferenceSession(
310+
get_name("mul_1.onnx"), session_options, providers=["TensorrtExecutionProvider"]
311+
)
308312

309313
# We currently disable following test code since that not all test machines/GPUs have nvidia int8 capability
310314

0 commit comments

Comments
 (0)