Skip to content

Commit

Permalink
Fix a typo in C++ sample application (microsoft#4556)
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn authored Jul 20, 2020
1 parent 9d80235 commit 9318b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/c_cxx/imagenet/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class Validator : public OutputCollector<TCharString> {
void CreateSession() {
Ort::SessionOptions session_options;
#ifdef USE_CUDA
Ort::ThrowOnError(OrtSessionOptionsAppendExecutionProvider_CUDA(session_option, 0));
Ort::ThrowOnError(OrtSessionOptionsAppendExecutionProvider_CUDA(session_options, 0));
#endif
session_ = Ort::Session(env_, model_path_.c_str(), session_options);
}
Expand Down

0 comments on commit 9318b3a

Please sign in to comment.