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

[DAPHNE-#711] Added data transfer with numpy for arrays of more than 2 dimensions #807

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

ldirry
Copy link
Contributor

@ldirry ldirry commented Aug 11, 2024

  • Previously only numpy arrays with 1 or 2 dimensions were supported.
  • Added support for numpy arrays with more than 2 dimensions.
  • Implementation is analogous to tensorflow and pytorch with a simple reshape to a 2d numpy array.
  • Added tests for ndim numpy arrays transfers.

@corepointer corepointer force-pushed the 711-numpy-multi-dimensions branch from d0ff590 to 180dbce Compare September 11, 2024 15:53
@corepointer corepointer linked an issue Sep 11, 2024 that may be closed by this pull request
…an 2 dimensions

- Previously only numpy arrays with 1 or 2 dimensions were supported.
- Added support for numpy arrays with more than 2 dimensions.
- Implementation is analog to tensorflow and pytorch with a simple reshape to a 2d numpy array.
- Added tests for ndim numpy arrays transfers.

Closes daphne-eu#807
@corepointer corepointer force-pushed the 711-numpy-multi-dimensions branch from 180dbce to 5337d14 Compare September 11, 2024 15:54
@corepointer corepointer merged commit 5337d14 into daphne-eu:main Sep 11, 2024
2 checks passed
@corepointer
Copy link
Collaborator

LGTM - thx for your contribution @ldirry

Tests ran without issues and the code changes seem to be fine. Now after merging it I found a minor glitch: you left the year unchanged while copy&pasting the license header 😆

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.

Data transfer with numpy for arrays of more than 2 dimensions
2 participants