Skip to content

Update pytorch data pointer#83

Open
vincentqb wants to merge 1 commit intoHawkAaron:masterfrom
vincentqb:dataptr
Open

Update pytorch data pointer#83
vincentqb wants to merge 1 commit intoHawkAaron:masterfrom
vincentqb:dataptr

Conversation

@vincentqb
Copy link

@vincentqb vincentqb commented Jan 6, 2021

As mentioned in comment, .data<type> is deprecated in favor of .data_ptr<type>. This requires pytorch 1.3+, see release notes.

@vincentqb vincentqb marked this pull request as draft January 7, 2021 00:10
@vincentqb vincentqb marked this pull request as ready for review January 7, 2021 00: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.

1 participant