We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There is a mistake on page 113 of the book.
# on page 113 predictions = torch.tensor(0.5, 1.0) labels = torch.tensor(2.0, 1.3)
Probably what you really want to write is
predictions = torch.tensor([0.5, 1.0]) labels = torch.tensor([2.0, 1.3])
Thank you Neuer
The text was updated successfully, but these errors were encountered:
Page 738 of the book : There is: `x0 = points[0] # 4 data points x1 = points[1][2:] # 2 data points x2 = points[2][1:] # 3 data points
x0.shape, x1.shape, x2.shape`
But correctly, given the following code, it is:
`s0 = points[0] # 4 data points s1 = points[1][2:] # 2 data points s2 = points[2][1:] # 3 data points
s0.shape, s1.shape, s2.shape`
Nice book!
Sorry, something went wrong.
I add another code typo to this issue, that I found in the book (and in the notebook as well): Page 606:
batch_hidden = final_hidden.permute(1, 0, 2) batch.shape
Should actually be:
batch_hidden = final_hidden.permute(1, 0, 2) batch_hidden.shape
Otherwise an incorrect tensor shape will be printed ([3, 4, 2] instead of [3, 1, 2].
No branches or pull requests
There is a mistake on page 113 of the book.
Probably what you really want to write is
Thank you
Neuer
The text was updated successfully, but these errors were encountered: