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
{{ message }}
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
It should instead read something along the lines of
elif squeeze_axis == 0 and num_outputs > 1:
node = onnx.helper.make_node(
"Split",
[input_node],
[name + "_%s" % (i) for i in range(num_outputs)],
axis=axis,
name=name,
)
return [node]
, which will require some additional changes to consumer nodes (they'll have to select which of the "Split" node outputs they need to use).
I encountered this when I exported a model of mine to ONNX and tried to reimport it to MXNet for sanity checks, but the import failed due to the unresolved #11594
The text was updated successfully, but these errors were encountered:
Description
The operator mapping from MXNet's
SliceChannel
to ONNXSplit
is incorrect:This means that when an array is supposed to be split into e.g. 10 evenly sized chunks (
num_outputs
== 10) what is exported instead is an ONNX operator that outputs one chunk of length 10, see https://github.com/onnx/onnx/blob/master/docs/Operators.md#examples-82.It should instead read something along the lines of
, which will require some additional changes to consumer nodes (they'll have to select which of the "Split" node outputs they need to use).
I encountered this when I exported a model of mine to ONNX and tried to reimport it to MXNet for sanity checks, but the import failed due to the unresolved #11594
The text was updated successfully, but these errors were encountered: