Skip to content

fix: return self in to device#1019

Merged
samsja merged 1 commit intofeat-rewrite-v2from
fix-return-self-to
Jan 16, 2023
Merged

fix: return self in to device#1019
samsja merged 1 commit intofeat-rewrite-v2from
fix-return-self-to

Conversation

@samsja
Copy link
Copy Markdown
Member

@samsja samsja commented Jan 16, 2023

Context

#996 introduced the da.to('cuda') on DocumentArrayStacked like pytorch.

Nevertheless to even stick more with what pytorch is doing we should return self in to

Signed-off-by: Sami Jaghouar <[email protected]>
@samsja samsja changed the title fix: return self fix: return self in to device Jan 16, 2023
@github-actions
Copy link
Copy Markdown

📝 Docs are deployed on https://ft-fix-return-self-to--jina-docs.netlify.app 🎉

@samsja samsja merged commit 67f97bf into feat-rewrite-v2 Jan 16, 2023
@samsja samsja deleted the fix-return-self-to branch January 16, 2023 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants