A tool for inspecting RKNN models
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rknn_inspect-0.1.0.tar.gz.
File metadata
- Download URL: rknn_inspect-0.1.0.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a7cb880af86f004424db79928a3395daa0d18f250c59160ec1e5eaf834231ba
|
|
| MD5 |
ae44d546c2d6b2310c18f3eed3a73bd0
|
|
| BLAKE2b-256 |
1d4fbcd506fa6f92c5a837ed5b949b88dc518e52ac558d32ba3dcb6bf00413a9
|
File details
Details for the file rknn_inspect-0.1.0-py3-none-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: rknn_inspect-0.1.0-py3-none-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 604.4 kB
- Tags: Python 3, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
005e1fbca65c2d1086554ec87526b910697f327cb63af0f3438a440fe6671531
|
|
| MD5 |
0054e6a647ef9e8d14a4ba1c927b824a
|
|
| BLAKE2b-256 |
a91e4c7364ed0e046f5d408218f43bf1d07fe542a9085d8a9f57ffa90acb0a1b
|
File details
Details for the file rknn_inspect-0.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: rknn_inspect-0.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 556.8 kB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b9c21a81c0ea5bb47f5b25df765ba1b53d746c352f97bfe053d547c1990a537
|
|
| MD5 |
17f280f5385098fd12662ee558edc019
|
|
| BLAKE2b-256 |
cd7ddfdcefa48c1f1db4f8363eb4a8c5720edeb0b30612e321d77562a85b866a
|