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

Forcing empty list/empty tuple behavior. #514

Merged
merged 5 commits into from
Aug 5, 2024
Merged

Forcing empty list/empty tuple behavior. #514

merged 5 commits into from
Aug 5, 2024

Conversation

Narsil
Copy link
Collaborator

@Narsil Narsil commented Aug 5, 2024

What does this PR do?

Fixes #495

Torch behavior was already correct, numpy wasn't for empty list, we added a specific case for empty list and correctly errored out on non empty list (since behavior is different than tuple).

Fixes # (issue) or description of the problem this PR solves.

@Narsil Narsil merged commit aa4ad82 into main Aug 5, 2024
10 of 11 checks passed
@Narsil Narsil deleted the fix_tuple branch August 5, 2024 12:20
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.

inconsistent behavior of slicing in certain model file
1 participant