rknn-inspect
CLI tool for inspecting RKNN models.
rknn-inspectis a command-line utility for inspecting and profiling Rockchip RKNN models. It helps developers understand model structure, input/output shapes and formats, SDK version info, and performance metrics. Useful during model development, conversion, and deployment on Rockchip NPUs.
Usage
rknn-inspect --help
Usage: rknn-inspect [OPTIONS] <MODEL_PATH>
Arguments:
<MODEL_PATH> Path to the model file
Options:
--lib-index <LIB_INDEX> Which library path to use [default: 0]
-i, --io Show inputs and outputs
-n, --native-io Show native input/output information
--native-nhwc-io Show native input/output information in NHWC format
--native-nc1hwc2-io Show native input/output information in NC1HWC2 format
-p, --perf Enable performance profiling
-s, --sdk Show SDK information
--npu-cores <NPU_CORES> Select NPU cores to use [default: auto] [possible values: core0, core1, core2, core-all, core0-1, core0-1-2, auto]
--markdown Output in Markdown format
--full-name Show full name of the op in the --perf output
-h, --help Print help
Installation
pipx install rknn-inspect
Extended Usage
View the input/output names, shapes, data types, and formats
rknn-inspect --io model.rknn
View Performance Metrics
rknn-inspect --perf model.rknn
View Performance Metrics for Specific NPU Core/s
rknn-inspect --npu-cores core0 --perf model.rknn
Metadata
Release files for rknn-inspect 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rknn_inspect-0.3.0.tar.gz | 14.8 kB | Without provenance | Details for rknn_inspect-0.3.0.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rknn_inspect-0.3.0-py3-none-musllinux_1_2_aarch64.whl | Python 3 | none | Linux musl 1.2+ ARM64 | Details for rknn_inspect-0.3.0-py3-none-musllinux_1_2_aarch64.whl |
| rknn_inspect-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details for rknn_inspect-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
Total release size: 1.2 MB
Release files / rknn_inspect-0.3.0.tar.gz
| Download URL | rknn_inspect-0.3.0.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c533706ac5080062dae1775db14caa46ee8f92c5dc17b7bae7a7d02ff48c4166
|
|
BLAKE2b-256 checksum How to use checksums |
0f2092a3b557a734e378d15542b474111615d5df6f31f88b6eefb9483d0e7df8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.3
|
Release files / rknn_inspect-0.3.0-py3-none-musllinux_1_2_aarch64.whl
| Download URL | rknn_inspect-0.3.0-py3-none-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 616.3 kB |
| Tags | Linux musl 1.2+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
ed405949e357b187ca3c2d2b3d023522b1e40418061ca337e747a3af3f5b1239
|
|
BLAKE2b-256 checksum How to use checksums |
d8cdd7b9226b846855fcb8431fef01dae0d32ed73623cd6ef02bd2a976ad13fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.3
|
Release files / rknn_inspect-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | rknn_inspect-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 574.0 kB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
35f9483fa4e5ed422dca4a8b90e64ae226b40a649fee80e3df9811c0335e1152
|
|
BLAKE2b-256 checksum How to use checksums |
cbc8ba01059d5855cea78ccc70681ba25acb2658308116d09cac8df16200ba42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.3
|
Security for rknn-inspect 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.