Fix typo in sample code. (#17426)

This commit is contained in:
Edward Chen 2023-09-05 15:19:13 -07:00 committed by GitHub
parent 2cced52151
commit 3963d364dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -133,7 +133,7 @@ const char* custom_op_library_filename = "/path/to/the/onnxruntime-extensions/sh
Ort::SessionOptions session_options;
// Register Extensions custom ops with the session options.
Ort::ThrowOnError(Ort::GetApi().RegisterCustomOpsLibrary_V2(static_cast<OrtSessionOptions*(session_options),
Ort::ThrowOnError(Ort::GetApi().RegisterCustomOpsLibrary_V2(static_cast<OrtSessionOptions*>(session_options),
custom_op_library_filename));
// Create a session.