mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-10 21:10:55 +08:00
Update README.md
This commit is contained in:
1 parent
567b31980e
commit
3bb9463860
1 file changed
+3
-1
+3
-1
@@ -8,6 +8,7 @@
|
||||
|
||||
怎样添加provider 以支持gpu等,下面以cuda为例
|
||||
|
||||
```
|
||||
OrtEnv* env;
|
||||
OrtInitialize(ORT_LOGGING_LEVEL_WARNING, "test", &env)
|
||||
OrtSessionOptions* session_option = OrtCreateSessionOptions();
|
||||
@@ -17,4 +18,5 @@
|
||||
OrtReleaseObject(factory);
|
||||
OrtCreateSession(env, model_path, session_option, &session);
|
||||
|
||||
`
|
||||
|
||||
```
|
||||
Reference in new issue
Block a user