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

the model for UniqueOp in backend test is not always correct for different input #6133

Open
chentong319 opened this issue May 8, 2024 · 0 comments
Labels

Comments

@chentong319
Copy link

chentong319 commented May 8, 2024

Bug Report

Is the issue related to model conversion?

No

Describe the bug

The shape of the output tensors for Unique Op is input content dependent. However, the model generated by backend test, for example, test_unique_sorted_without_axis, is given a constant shape to the outputs based on the value of the given inputs in the test. Is it possible to generate dynamic shape for the outputs of Unique?

System information

onnx version: 1.17.0

Reproduction instructions

Check the file: onnx/onnx/backend/test/case/node/unique.py

Expected behavior

Notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant