Skip to content

Commit

Permalink
Remove comment that is no longer relevant
Browse files Browse the repository at this point in the history
  • Loading branch information
markmcd committed Jun 26, 2024
1 parent c68e3e9 commit f04e305
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion site/en/tutorials/images/transfer_learning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,6 @@
"# Retrieve a batch of images from the test set\n",
"image_batch, label_batch = test_dataset.as_numpy_iterator().next()\n",
"predictions = model.predict_on_batch(image_batch).flatten()\n",
"# Apply a sigmoid since our model returns logits\n",
"predictions = tf.where(predictions < 0.5, 0, 1)\n",
"\n",
"print('Predictions:\\n', predictions.numpy())\n",
Expand Down

0 comments on commit f04e305

Please sign in to comment.