-
Notifications
You must be signed in to change notification settings - Fork 6.8k
[wip] [v1.x] Onnx export support for slicechannel and box_nms #19846
Conversation
Hey @Zha0q1 , Thanks for submitting the PR
CI supported jobs: [clang, centos-gpu, unix-cpu, edge, sanity, centos-cpu, windows-gpu, unix-gpu, miscellaneous, website, windows-cpu] Note: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small concern noted, but LGTM!
@pytest.mark.parametrize('dtype', ['float16', 'float32']) | ||
@pytest.mark.parametrize('num_outputs', [1, 3, 9]) | ||
@pytest.mark.parametrize('axis', [1, 2, -1, -2]) | ||
@pytest.mark.parametrize('squeeze_axis', [True, False]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you provide a numerical value to squeeze_axis? Does the onnx export function correctly see 'True' when passed a 1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added '1' as an equivalent to 'True', but I think technically users can also use other values such as 4, 123, although i doubt they would actually use it that way
…or-mxnet into onnx_slicechannel_box_nms
add full support fir skucechannel. Unblocked id_index!=-1 case for box_nms. The behavior will not be the same as mxnet but a warning is added to notify the user of this