Skip to content

Commit 08f2c82

Browse files
committed
Use VitisAI method instead of string
1 parent ba990cd commit 08f2c82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/execution-providers/Vitis-AI-ExecutionProvider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ options["cache_key"] = "abcdefg"; // Replace abcdefg with your model name, eg. o
117117
options["log_level"] = "info";
118118

119119
// Create an inference session using the Vitis AI execution provider
120-
session_options.AppendExecutionProvider("VitisAI", options);
120+
session_options.AppendExecutionProvider_VitisAI(options);
121121

122122
auto session = Ort::Experimental::Session(env, model_name, session_options);
123123

0 commit comments

Comments
 (0)