How can I compare two ONNX interfaces?
Export each declared interface as JSON, then compare those reports with JSON Structure Diff. Keep names redacted unless the labels matter.
Runs in your browser. No file uploads for processing. Privacy details
Read an ONNX model's declared input and output names, tensor shapes and opset versions without running or uploading it.
Loading tool...
Choose a .onnx file up to 32 MiB. The example declares FLOAT tensors with a dynamic batch, a fixed dimension of 3 and an unknown dimension.
Compare the two lists. A symbolic dimension names a shared variable; an unknown dimension has neither a name nor a fixed value.
Export the declarations to JSON. By default the report leaves out port names, symbolic labels and private opset domain names.
The tool processes inputs in your browser. File processing and site analytics are separate.
Export each declared interface as JSON, then compare those reports with JSON Structure Diff. Keep names redacted unless the labels matter.
These are the shapes written in the file. The report distinguishes a scalar, a missing shape, a symbolic dimension and an unknown dimension without running shape inference.
The IR version identifies the model format. Opset imports identify operator-definition versions by domain.
No. External tensor data is not opened, uploaded or fetched. The tool reads only the graph's declared interface and opset metadata from the selected file.