DeveloperFree to use

Runs in your browser. No file uploads for processing. Privacy details

ONNX Model Input and Output Inventory

Read an ONNX model's declared input and output names, tensor shapes and opset versions without running or uploading it.

Loading tool...

How to check an ONNX model's input shapes

  1. Open a model or try the sample

    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.

  2. Read inputs, outputs and opsets

    Compare the two lists. A symbolic dimension names a shared variable; an unknown dimension has neither a name nor a fixed value.

  3. Download what you need

    Export the declarations to JSON. By default the report leaves out port names, symbolic labels and private opset domain names.

Use cases

  • Check what dtype, rank and dimensions a model declares before wiring an inference client.
  • Compare two model exports or look up the declared opset versions.

Limits and privacy

  • Top-level ONNX protobuf only, up to 32 MiB, 256 inputs and 256 outputs. Container types are identified but their nested contents are not inspected.
  • Shows graph declarations, which can include initializer-backed inputs. Does not infer shapes, decode weights, open external tensor data, run inference or check runtime support.

The tool processes inputs in your browser. File processing and site analytics are separate.

Frequently asked questions

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.

Are ONNX shapes computed or declared?

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.

What is the difference between IR and an opset version?

The IR version identifies the model format. Opset imports identify operator-definition versions by domain.

Does the tool read a model's external weights?

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.

Related tools