Working through Chapter 3 of the Book - DataPoints.syntheticData gives UnsupportedOperationException: Dimension mismatch or high dimensional dot operation is not supported. #2663
juliangamble
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Everyone,
Thanks for this great library. I hope this can lead to something helpful.
I'm working through Chapter 3 of the book - I'll include code to reproduce my experience below.
I'm getting an error
It seems to me that the approach using dot product in the book is not valid for the latest version of Pytorch, and that
matmul
should be used instead. Can someone give me a pointer as to how to replace this code in DataPoints to usematmul
?Cheers
Julian
pom.xml
Ch3DimensionMismatchDemoBug.java
Beta Was this translation helpful? Give feedback.
All reactions