2022-08-15 10:18:17 +08:00
# Supported ncnn feature
2021-10-09 14:10:42 +08:00
2022-08-15 10:18:17 +08:00
The current use of the ncnn feature is as follows:
2022-01-07 11:04:28 +08:00
2022-08-15 10:18:17 +08:00
| feature | windows | linux | mac | android |
| :----------------: | :-----: | :---: | :-: | :-----: |
| fp32 inference | ✔️ | ✔️ | ✔️ | ✔️ |
| int8 model convert | - | ✔️ | ✔️ | - |
| nchw layout | ✔️ | ✔️ | ✔️ | ✔️ |
| Vulkan support | - | ✔️ | ✔️ | ✔️ |
2021-10-12 14:24:33 +08:00
2022-08-15 10:18:17 +08:00
The following features cannot be automatically enabled by mmdeploy and you need to manually modify the ncnn build options or adjust the running parameters in the SDK
2021-10-12 14:24:33 +08:00
2022-08-15 10:18:17 +08:00
- bf16 inference
- nc4hw4 layout
- Profiling per layer
- Turn off NCNN_STRING to reduce .so file size
- Set thread number and CPU affinity