mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-13 18:08:13 +00:00
[ArmNN][Doc]Use meaningful variable name (#8629)
Ported from this PR: https://github.com/microsoft/onnxruntime/pull/6122
This commit is contained in:
parent
66fa85a7e0
commit
fb2e30a76c
1 changed files with 2 additions and 2 deletions
|
|
@ -23,9 +23,9 @@ For build instructions, please see the [BUILD page](../../how-to/build/eps.md#ar
|
|||
To use ArmNN as execution provider for inferencing, please register it as below.
|
||||
```
|
||||
Ort::Env env = Ort::Env{ORT_LOGGING_LEVEL_ERROR, "Default"};
|
||||
Ort::SessionOptions sf;
|
||||
Ort::SessionOptions so;
|
||||
bool enable_cpu_mem_arena = true;
|
||||
Ort::ThrowOnError(OrtSessionOptionsAppendExecutionProvider_ArmNN(sf, enable_cpu_mem_arena));
|
||||
Ort::ThrowOnError(OrtSessionOptionsAppendExecutionProvider_ArmNN(so, enable_cpu_mem_arena));
|
||||
```
|
||||
The C API details are [here](../api/c-api.md).
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue