You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to label an unknown dimensions as the same across a model? For instance, if there is a batchsize that is unknown when converting the model but shared across many inputs.
Both x and y in the above example have a shape where the first dimension is unknown (in my converted model they are named unk__13 and unk__14 respectively). Is there a way to let tf2onnx know that these should actually be the same size (i.e. unk__13 == unk__14).
Notes
I'm not sure if this effects performance, but would make interpreting the resulting onnx models easier for downstream users.
The text was updated successfully, but these errors were encountered:
Ask a Question
Question
Is there a way to label an unknown dimensions as the same across a model? For instance, if there is a
batchsize
that is unknown when converting the model but shared across many inputs.Further information
For example:
Both
x
andy
in the above example have a shape where the first dimension is unknown (in my converted model they are namedunk__13
andunk__14
respectively). Is there a way to let tf2onnx know that these should actually be the same size (i.e.unk__13 == unk__14
).Notes
I'm not sure if this effects performance, but would make interpreting the resulting onnx models easier for downstream users.
The text was updated successfully, but these errors were encountered: