[NNAdapter][VerisiliconTIMVX] Init support for TIM-VX #7706
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
背景
NNAdapter 增加芯原TIM-VX HAL,用于支持所有使用了芯原NPU IP的芯片,例如:瑞芯微 rk1808/1806 rv1109/rv1126、晶晨amlogic c308x/s905d3/a311d、恩智浦I.MX 8M Plus(待验证),该方案的引入并不是替代原有rknpu_ddk和amlnpu_ddk方案(原有方案将重点支持非芯原NPU IP的芯片),而是对相关芯片能力的补充,旨在增加Paddle算子和模型的覆盖,有效的服务于厂内外业务。
方案
基于 Paddle Lite + NNAdapter 硬件接入方案,需要实现 NNAdapter TIM-VX HAL,具体修改点如下: