Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for operators RFFT, ComplexAbs #1114

Merged
merged 6 commits into from Sep 29, 2020
Merged

Add support for operators RFFT, ComplexAbs #1114

merged 6 commits into from Sep 29, 2020

Conversation

xadupre
Copy link
Collaborator

@xadupre xadupre commented Sep 25, 2020

@lgtm-com
Copy link

lgtm-com bot commented Sep 25, 2020

This pull request introduces 2 alerts when merging db08e76 into b4ac342 - view on LGTM.com

new alerts:

  • 2 for Unused import

tests/test_backend.py Outdated Show resolved Hide resolved
tf2onnx/onnx_opset/signal.py Outdated Show resolved Hide resolved
tf2onnx/onnx_opset/signal.py Show resolved Hide resolved
Signed-off-by: xavier dupré <xavier.dupre@gmail.com>
Signed-off-by: xavier dupré <xavier.dupre@gmail.com>
Signed-off-by: xavier dupré <xavier.dupre@gmail.com>
Signed-off-by: xavier dupré <xavier.dupre@gmail.com>
@@ -3624,6 +3629,27 @@ def test_conv2d_1_kernel_as_input(self):
[1., 1., 4.]], dtype=np.float32).reshape(_KERNEL3x3)
self._conv_kernel_as_input_test(x_val, w_val)

@unittest.skipIf(tf_signal is None, reason="TF does not have submodule signal.")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make this check depend on the TF version instead of doing the whole try/catch import thing?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

Signed-off-by: xavier dupré <xavier.dupre@gmail.com>
@xadupre xadupre merged commit b51df2f into onnx:master Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants