Onnxify.CLI 0.3.3

dotnet tool install --global Onnxify.CLI --version 0.3.3
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Onnxify.CLI --version 0.3.3
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Onnxify.CLI&version=0.3.3
                    
nuke :add-package Onnxify.CLI --version 0.3.3
                    

Warning This package is currently in active development and research. Its public API is unstable and may change radically in future versions.

Onnxify.CLI

Onnxify.CLI is the command-line entry point for this repository. It is published as a dotnet tool and exposes the onnxify command.

Install

dotnet tool install --global Onnxify.CLI

What It Provides

  • Inspect ONNX model structure from the terminal.
  • Compare ONNX model structure from the terminal.
  • Inspect safetensors files from the terminal.
  • Generate C# project output from an ONNX model.

Example Commands

onnxify --version
onnxify onnx show model.onnx
onnxify onnx show --inputs --outputs --nodes model.onnx
onnxify onnx diff original.onnx exported.onnx
onnxify onnx diff --nodes original.onnx exported.onnx
onnxify onnx inputs-outputs model.onnx
onnxify safetensors show model.safetensors
onnxify project generate model.onnx output-dir

ONNX Commands

Show A Model

onnxify onnx show [options] <model.onnx>

Without options, onnx show prints the default OnnxModel representation. With one or more section options, it prints a compact summary and only the requested sections.

Options:

  • --inputs includes graph inputs.
  • --outputs includes graph outputs.
  • --values includes initializer previews and intermediate value-info entries.
  • --nodes includes compact node signatures with inputs, outputs, and attributes.

Compare Two Models

onnxify onnx diff [options] <left.onnx> <right.onnx>

onnx diff compares two ONNX models and prints metadata, operator counts, and ordered graph-section differences. Without section options, it includes inputs, outputs, values, and nodes. With section options, it always includes metadata and operator counts, then only the requested graph sections.

Options:

  • --inputs includes graph input differences.
  • --outputs includes graph output differences.
  • --values includes initializer and intermediate value differences.
  • --nodes includes compact node signature differences.

Show Inputs And Outputs

onnxify onnx io <model.onnx>
onnxify onnx inputs-outputs <model.onnx>

Both forms print the model input and output tensors.

Repository

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.3.3 55 6/15/2026
0.3.2 57 6/14/2026
0.3.1 50 6/12/2026
0.3.0 55 6/11/2026
0.2.0 96 6/8/2026
0.1.4 109 6/2/2026
0.1.3 102 6/1/2026
0.1.2 121 5/28/2026
0.1.1 101 5/20/2026
0.1.0 111 5/18/2026
0.0.0.15 97 5/18/2026
0.0.0.14 102 5/17/2026
0.0.0.13 101 5/14/2026

## 0.3.3

- Picked up the core graph-loading fixes for ONNX models with `None` tensor dimensions and positional empty optional node inputs.

## 0.3.2

- Aligned the package version with the 0.3.2 Onnxify package family release.
- Picked up the core graph-loading fix for ONNX files whose `value_info` repeats graph input or output names.
- Added section filters to `onnxify onnx show`, including `--nodes`, `--values`, `--inputs`, and `--outputs`.
- Added `onnxify onnx diff` with matching section filters for comparing model summaries, nodes, values, inputs, and outputs.

## 0.3.0

- Aligned the package version with the 0.3.0 Onnxify package family release.
- Picked up the TorchSharp `0.107.0` baseline used by the TorchSharp-backed package family.
- Picked up the latest package-family improvements, including expanded ModelGenerator TorchModule import coverage.

## 0.2.0

- Aligned the package version with the 0.2.0 Onnxify package family release.

## 0.1.2

- Aligned the package version with the 0.1.2 Onnxify package family release.

## 0.1.1

- Aligned the package version with the 0.1.1 Onnxify package family release.

## 0.0.0.1

- Initial release