How to get input tensor shape in onnxruntime-web? #17682
Unanswered
wirhabenzeit
asked this question in
General
Replies: 1 comment 3 replies
-
You can inspect the model by opening it on Netron and checking what the model expcts its input shape to be |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Given an
ort
session, sayhow can I get the expected input shape?
To get the input names, I can do
session.inputNames
but the docs don't explain how to get the input shapes.Beta Was this translation helpful? Give feedback.
All reactions