Skip to content

docs: add qnn tflite delegate demo zh docs#1353

Open
zifeng-radxa wants to merge 1 commit intoradxa-docs:mainfrom
zifeng-radxa:main
Open

docs: add qnn tflite delegate demo zh docs#1353
zifeng-radxa wants to merge 1 commit intoradxa-docs:mainfrom
zifeng-radxa:main

Conversation

@zifeng-radxa
Copy link
Contributor

docs: add qnn tflite delegate demo zh docs

Signed-off-by: ZIFENG278 <zifengzhang18@gmail.com>
@zifeng-radxa zifeng-radxa requested a review from a team as a code owner February 12, 2026 03:58
Copy link
Contributor

@windsurf-bot windsurf-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other comments (1)

💡 To request another review, post a new comment with "/windsurf-review".

```bash
sudo apt update
sudo apt install fastrpc fastrpc-dev libcdsprpc1 radxa-firmware-qcs6490
sudo apt install fastrpc libcdsprpc1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR removes the firmware packages (radxa-firmware-qcs6490 and radxa-firmware-qcs9075) from the installation commands. Are these packages no longer required for NPU functionality? If they're still needed, they should be kept in the installation instructions.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no longer required, preinstalled !

Comment on lines +46 to +75
{/* 对用户增加 fastrpc 设备权限 */}

{/* <Tabs queryString="platform"> */}
{/* <TabItem value="QCS6490" default={props.tag === "qcs6490"} attributes={{className: props.tag === "qcs9075" && "tab_none"}}> */}

{/* <NewCodeBlock tip="Device" type="device"> */}

{/* ```bash */}
{/* sudo chmod 666 /dev/fastrpc-* */}
{/* sudo chmod 666 /dev/dma_heap/system */}
{/* ``` */}

{/* </NewCodeBlock> */}

{/* </TabItem> */}

{/* <TabItem value="QCS9075" default={props.tag === "qcs9075"} attributes={{className: props.tag === "qcs6490" && "tab_none"}}> */}

{/* <NewCodeBlock tip="Device" type="device"> */}

{/* ```bash */}
{/* sudo chmod 660 /dev/fastrpc-* */}
{/* sudo chmod 660 /dev/dma_heap/system */}
{/* ``` */}

{/* </NewCodeBlock> */}

{/* </TabItem> */}

{/* </Tabs> */}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The section about setting device permissions has been commented out. Without these permissions, users may encounter access issues when trying to use the NPU. If these permissions are no longer needed, please explain why. Otherwise, consider keeping this section or providing alternative instructions for proper device access.

通过结果打印与测试图片类容对比,可以确认 inception_v3 通过 TFLite delegate 使用 Qualcomm® NPU 推理输出的结果正确。

<div style={{ textAlign: "center" }}>
<img src="/img/dragon/q6a/qairt_resnet50.webp" style={{ width: "60%" }} />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The image filename referenced in line 60 is qairt_resnet50.webp but the document is about Inception_v3. Consider renaming the image file to match the model being demonstrated or ensure the image actually shows Inception_v3 results.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same images input

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants