$npx skillfedfor your agent

sio4onnx

Simple tool to change the INPUT and OUTPUT shape of ONNX.

With conditionsPyPI Artificial IntelligenceReleased Apr 202582.8K downloads / moMIT LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — sio4onnx-1.0.3-py3-none-any.whl
v1.0.3 · released 2025-04-01 · Python >=3.6

Yes, if you work with ONNX models and need to adjust their input/output shapes for deployment or inference. The package is lightweight, dependency-free, and permissively licensed. Maintenance is aging (last release 500 days ago), but the repository is not archived and the tool solves a narrow, stable problem unlikely to require frequent updates. Suitable for production use in model preprocessing pipelines.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Installs cleanly with no runtime dependencies.
  • Maintenance is aging—last release was 500 days ago—but the repository remains active and the package supports current Python versions.

License · maintenance · safety

MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions, making it safe to integrate into proprietary workflows.

last release 2025-04-01 (500 days) · last repo commit 2025-04-01 · 15 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 82,754 downloads/mo, #14,137 on PyPI

Verify before relying

pip install sio4onnx

from sio4onnx import io_change

io_changed_graph = io_change(
    input_onnx_file_path="model.onnx",
    output_onnx_file_path="model_reshaped.onnx",
    input_names=["input_1"],
    input_shapes=[[1, 3, "H", "W"]],
    output_names=["output_1"],
    output_shapes=[[1, "boxes", 4]]
)
  • Whether symbolic dimension names are fully preserved through inference pipelines downstream.
  • Support for dynamic shape inference or validation after modification.
  • Compatibility with all ONNX opset versions or any known limitations.
Same gist for agents: .md · .json

What it is and what it does

sio4onnx is a lightweight utility for modifying the declared input and output shapes of ONNX model files. It works both as a command-line tool and as a Python library, accepting either a file path or an in-memory ONNX graph, then rewriting the shape metadata for specified input and output nodes. You can use fixed dimensions, symbolic names like 'H' and 'W', or dynamic markers like '-1' to represent variable axes.

The package is useful when you have a pre-trained ONNX model with fixed shapes but need to adapt it for different batch sizes, image resolutions, or sequence lengths without retraining. It modifies only the shape declarations in the model graph, not the underlying weights or operations. The tool has no external runtime dependencies and supports Python 3.6 and later, making it straightforward to integrate into model preprocessing pipelines.

Use it for

  • Adapt a fixed-batch ONNX model to accept variable batch sizes for inference on different hardware or deployment scenarios.
  • Change image input dimensions in a computer vision model to match production inference requirements.
  • Prepare an ONNX model for deployment on edge devices by modifying input shapes to match device constraints.
  • Batch-process multiple ONNX files to standardize their input/output shape signatures across a model zoo.
  • Use symbolic dimension names in place of hard-coded values to enable downstream tools to infer shapes dynamically.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you work with ONNX models and need to adjust their input/output shapes for deployment or inference.

The package is lightweight, dependency-free, and permissively licensed. Maintenance is aging (last release 500 days ago), but the repository is not archived and the tool solves a narrow, stable problem unlikely to require frequent updates. Suitable for production use in model preprocessing pipelines.

Install

sio4onnx on PyPI

Before you install

Installs cleanly with no runtime dependencies. Maintenance is aging—last release was 500 days ago—but the repository remains active and the package supports current Python versions.

License in practice

MIT License permits commercial and private use with minimal restrictions, making it safe to integrate into proprietary workflows.

Quickstart

pip install sio4onnx

from sio4onnx import io_change

io_changed_graph = io_change(
    input_onnx_file_path="model.onnx",
    output_onnx_file_path="model_reshaped.onnx",
    input_names=["input_1"],
    input_shapes=[[1, 3, "H", "W"]],
    output_names=["output_1"],
    output_shapes=[[1, "boxes", 4]]
)

Verify before relying

  • Whether symbolic dimension names are fully preserved through inference pipelines downstream.
  • Support for dynamic shape inference or validation after modification.
  • Compatibility with all ONNX opset versions or any known limitations.

Package facts

LicenseMIT License permissive
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAging 500 days since the last release
Last repo commit
First released
Downloads82,754 / month, #14,137 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: sio4onnx-1.0.3-py3-none-any.whl

Tags

Capabilities
onnx model shape modificationchange onnx input output dimensionsonnx batch size adjustmentreshape onnx modelonnx io shape editoradapt onnx model dimensionsonnx symbolic shape parameters
Topics
onnx-toolsmodel-preprocessing

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “onnx model shape modification”

  • sio4onnxModifies the input and output shapes of ONNX model files, allowing…
  • ssi4onnxInfers and fills missing tensor shape information in ONNX model…
  • sam4onnxRewrites attributes and constants in ONNX model operators via CLI or…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also soc4onnx · ssi4onnx · scc4onnx · soa4onnx · sbi4onnx · sod4onnx · sam4onnx · sng4onnx · sor4onnx · snd4onnx