Is there api to fetch input/output description in c? #13752
Replies: 1 comment 6 replies
-
I had a similar question. Basically how do I get the ordering of the data. I have tried to use to GetDenotationFromTypeInfo in the C api (see code below), but currently I just get the empty string From what I understand of the denotation the ordering of channel, data dimension, and batch dimension are/can be tracked in onnxruntime through the whole graph, so if the user by accident flips the dimension in a wrong way it can be detected... but that is a bit incompatible with that my char* ptr is not being populated My models has been converted from tensorflow using tf2onnx. But not sure if the denotation info actually are in my onnx file I don't know if this is of any help :) best regards
|
Beta Was this translation helpful? Give feedback.
-
Like the marked information in following picture.
I want the [N, C, H, W] information there.
Beta Was this translation helpful? Give feedback.
All reactions