-
Notifications
You must be signed in to change notification settings - Fork 2.1k
p1ch3, id(points.storage()) == id(points_t.storage()) out:False on Colab #109
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
Comments
Yeah, this bit in the book is, unfortunately, bogus, as the interface between Python and C++ is delicate here: While a = points.storage()
b = points.storage() # same tensor(!)
print(id(a), id(b)) will give different ids (as of PyTorch <= 2.0, there always are plans to do this differently, but I would not know the timeline). What is the same is the |
Hi @t-vi , Thank you for answer, Do you Have relationship images of the 3 storage(id(pointa.storage()) & data_ptr & _cdata) ? |
points_t = points.t() #.t:transpose
id(points.storage()) == id(points_t.storage()) out:False on Colab
The text was updated successfully, but these errors were encountered: