Rockchip · AI & Linux Hub

AI inference

RKNN3 operator checks: why a supported name is not enough

A common conversion mistake is assuming that an operator listed in a manual must work in every model.

A common conversion mistake is assuming that an operator listed in a manual must work in every model. Deployment also depends on target hardware, data type, shapes, attribute combinations and which values are known during compilation.

This is an original technical interpretation and implementation guide based on official documentation. This workflow has not been verified on ArmSoM hardware. Match the target chip, SDK, Runtime, driver and firmware before deployment.

Operator constraints: Inventory graph nodes → Select target section → Check types and shapes → Build a minimal case

Original ArmSoM workflow illustration; it does not represent hardware test results. Open the image for its vector version.

Open the correct platform section

The V1.2.0 reference separates RK182X and RK3572. Entries describe types, dimensions and parameter restrictions, with implementation labels such as Subgraph, RegEmit, NRV, NRVReg and Runtime/Simulator. A documented path does not imply identical execution on every target.

Record the exact entry and SDK version, not just a screenshot of a supported-name list.

Inventory graph nodes first

This editorial ONNX example reads structure without loading external weight data. It does not decide RKNN3 compatibility:

from collections import Counter
import onnx

model = onnx.load("model.onnx", load_external_data=False)
counts = Counter((node.domain or "ai.onnx", node.op_type)
                 for node in model.graph.node)
for (domain, op_type), count in sorted(counts.items()):
    print(domain, op_type, count)

It requires ONNX. Use the output as a starting point for review, not an automatic support certificate.

Review individual node instances

Check Question
Type What are the input, weight and output types?
Shape Are dimensions, batch and dynamic ranges defined?
Attributes Is this particular combination restricted?
Constants Are required values available at compilation?
Neighbors Do transpose, broadcasting or fusion change constraints?

Two nodes with the same operator name can have different shapes. Inspecting only the first occurrence may miss the failing case.

Reduce to a reproducible problem

Keep the inputs and relationships needed around the failing node, then test whether a smaller graph reproduces the failure. If simplification removes it, document what changed and restore conditions incrementally.

For a private model, structural problems may be isolated with synthetic data of matching dimensions. Accuracy problems ultimately need real inputs or trustworthy reference outputs.

Revalidate model rewrites

Replacing an operator requires behavioral comparison as well as another conversion. A successful build can still introduce copies, CPU work or numerical changes. Recheck correctness, end-to-end time and memory together. No RKNN3 compilation was performed here; the inventory script does not replace the official constraints reference.

Plan an ArmSoM-based project

If an ArmSoM board is being considered as the application host, start with the product information for Sige7, Sige5 and CM5. Check interfaces, power, OS image and drivers for the actual board and carrier revision. These are host-selection references, not a plug-and-play compatibility claim for RK182X modules. The integrated NPUs in RK3588 / RK3576 use the corresponding RKNN Toolkit2 stack; selecting one of these hosts does not move its internal NPU to RKNN3.

Related interface and module documentation: RK182X M.2 · RK182X SO-DIMM · RK3572 Datasheet V1.0

Official documentation and version

Based on official repository snapshot 141883c8e11b0, checked on 2026-11-14. Consult the source for complete interfaces, parameters and restrictions. This article is not a replacement for the manual or a reproduction of the full PDF.

Reading order

Products and development resources

Check the hardware revision, carrier, image and interfaces in the product documentation. An article association is not evidence that a configuration has been tested.

These models are linked for further platform reading; the examples are not claimed to be ported to them.

Explore this topic → · Learning paths →