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

PyTorch: Avoid creating ragged tensors; support numpy>=1.24 #2435

Merged
merged 1 commit into from Feb 1, 2023

Conversation

AnirudhDagar
Copy link
Member

Description of changes:
After numpy/numpy#22004 , ragged array creation in numpy>=1.24 raises a value error. This PR fixes one such instance of ragged arrays used in d2l code.

By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.

@d2l-bot
Copy link
Member

d2l-bot commented Feb 1, 2023

Job d2l-en/PR-2435/1 is complete.
Check the results at http://preview.d2l.ai/d2l-en/PR-2435/

@astonzhang
Copy link
Member

Thanks for the fix!

@astonzhang astonzhang merged commit 4f04e54 into d2l-ai:master Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants