mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
Fix typo in sample code. (#17426)
This commit is contained in:
parent
2cced52151
commit
3963d364dc
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue