Merge pull request #476 from Adele101/patch-2

Update README for -LogCPUFallback
This commit is contained in:
Numfor Tiapo 2022-10-06 11:43:20 -07:00 коммит произвёл GitHub
Родитель c041ba0aac 26528d4f9e
Коммит 673410d94f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -60,6 +60,7 @@ Required command-Line arguments:
-Terse: Terse Mode (suppresses repetitive console output)
-AutoScale <interpolationMode>: Enable image autoscaling and set the interpolation mode [Nearest, Linear, Cubic, Fant]
-GarbageDataMaxValue <maxValue>: Limit generated garbage data to a maximum value. Helpful if input data is used as an index.
-LogCPUFallback: Prints which operators fallback to run on CPU when GPU is the specified device
Concurrency Options:
-ConcurrentLoad: load models concurrently
@ -269,6 +270,10 @@ First Iteration Performance (load, bind, session creation, and evaluate):
Shared Memory usage (load, bind, session creation, and evaluate): 6.04688 MB
```
## Log CPU Fallback
Operators falling back to the CPU can cause slow performance, so you can use the -LogCPUFallback argument to see which operators are falling back to CPU. To fix CPU fallback, please make sure you are using the correct [operator set](https://docs.microsoft.com/en-us/windows/ai/windows-ml/onnx-versions) and if the issue persists please log a bug [here](https://github.com/microsoft/Windows-Machine-Learning/issues).
## Capturing Trace Logs
If you want to capture trace logs using the tool, you can use logman commands in conjunction with the debug flag:
```