You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2021/02/05 02:13:19 UTC

[GitHub] [incubator-mxnet] josephevans commented on a change in pull request #19846: [wip] [v1.x] Onnx export support for slicechannel and box_nms

josephevans commented on a change in pull request #19846:
URL: https://github.com/apache/incubator-mxnet/pull/19846#discussion_r570673773



##########
File path: tests/python-pytest/onnx/test_operators.py
##########
@@ -923,3 +923,16 @@ def test_onnx_export_convolution(tmp_path, dtype, shape, num_filter, num_group,
                   **kwargs)
     inputs = [x, w] if no_bias else [x, w, b]
     op_export_test('convolution', M, inputs, tmp_path)
+
+
+@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])

Review comment:
       Can you provide a numerical value to squeeze_axis? Does the onnx export function correctly see 'True' when passed a 1?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org