Suggestion on the codes on page 419 #216
baifanhorst
started this conversation in
General
Replies: 1 comment
-
I think it was just due to the conversion from the TensorFlow edition. I like your approach better too. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is just a minor comment. Page 419 contains codes generating data for XOR classification. I do not understand why the numpy arrays are created first and then converted into tensors. I use ``X_train = torch.empty(N_train, 2).uniform_(-1, 1)'' to generate the features for the training set.
Beta Was this translation helpful? Give feedback.
All reactions