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

Create test for validating shape-inference methods handle unknown rank inputs #6091

Open
gramalingam opened this issue Apr 18, 2024 · 0 comments
Labels
shape inference Issues related to shape inference test

Comments

@gramalingam
Copy link
Contributor

See PR #6080 for context: it is an example of a shape-inference method that does not handle the case of inputs of unknown ranks gracefully (well, it crashes :-) ).

We should have a test (in CI) that validates that the shape-inference method of all operators handle inputs of unknown ranks without crashing. We just need to create a test-case where the input tensors do not have any shape (rank). One way to do this is to leverage existing test-cases (eg., from backend node tests) and modify the input type to have no shape, and run the shape-inference method on it.

@gramalingam gramalingam added test shape inference Issues related to shape inference labels Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
shape inference Issues related to shape inference test
Projects
None yet
Development

No branches or pull requests

1 participant