[ArmNN][Doc]Use meaningful variable name (#8629)

Ported from this PR: https://github.com/microsoft/onnxruntime/pull/6122
This commit is contained in:
Edward Chen 2021-08-12 09:59:32 -07:00 committed by GitHub
parent 66fa85a7e0
commit fb2e30a76c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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).