mirror of
https://github.com/mrdbourke/pytorch-deep-learning.git
synced 2026-11-27 06:07:09 +00:00
Fixed typo in notebook02
This commit is contained in:
1 parent
4377270f7a
commit
b941874f7e
1 file changed
+1
-1
@@ -2487,7 +2487,7 @@
|
||||
" # 1. Forward pass\n",
|
||||
" test_logits = model_3(X_test).squeeze()\n",
|
||||
" test_pred = torch.round(torch.sigmoid(test_logits)) # logits -> prediction probabilities -> prediction labels\n",
|
||||
" # 2. Calcuate loss and accuracy\n",
|
||||
" # 2. Calculate loss and accuracy\n",
|
||||
" test_loss = loss_fn(test_logits, y_test)\n",
|
||||
" test_acc = accuracy_fn(y_true=y_test,\n",
|
||||
" y_pred=test_pred)\n",
|
||||
|
||||
Reference in new issue
Block a user