{"categories":[{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/11"}],"enrichment":{"capability":"Modifies the input and output shapes of ONNX model files, allowing you to adapt pre-trained models to different batch sizes, dimensions, or symbolic shape parameters via CLI or Python API.","skillfed_tags":["onnx-tools","model-preprocessing"],"use_cases":["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."],"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.\n\nThe 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.","worth_installing":"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."},"id":"sio4onnx","links":{"html":"https://skillfed.io/packages/sio4onnx","md":"https://skillfed.io/packages/sio4onnx.md","pypi":"https://pypi.org/project/sio4onnx/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-04-01","license_spdx":null,"license_treatment":"permissive","name":"sio4onnx","python_support":"supports_current","summary":"Simple tool to change the INPUT and OUTPUT shape of ONNX."},"popularity":{"monthly_downloads":82754,"position":14137,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.3"}
