Merge branch 'v0' into main

add in changes from v0
This commit is contained in:
Daniel Bourke committed 2021-10-26 12:57:38 +10:00
commit 753e827f74
6 files changed
+1012 -111

No files matched your search

+5 -1
View File
@@ -2083,7 +2083,11 @@
"source": [
"You can put tensors on the GPU using [`to()`](https://pytorch.org/docs/stable/generated/torch.Tensor.to.html).\n",
"\n",
"GPUs offer far faster numerical computing than CPUs do."
"GPUs offer far faster numerical computing than CPUs do.\n",
"\n",
"> **Note:** Putting a tensor on GPU using `to(device)` (e.g. `some_tensor.to(device)`) returns a copy of that tensor, e.g. the same tensor will be on CPU and GPU. To overwrite tensors, reassign them:\n",
">\n",
"> `some_tensor = some_tensor.to(device)`"
]
},
{
+996 -110
View File
File diff suppressed because it is too large. Load diff
+4
View File
@@ -8,6 +8,10 @@
"\n",
"## TK - What we're going to cover\n",
"\n",
"* Simple classification (reiterate PyTorch workflow)\n",
"* More advanced classification (e.g. black and white images or FashionMNIST or FoodMNIST or something)\n",
"* Visualizing a PyTorch model (all of the different connections)\n",
"\n",
"## TK - How you can use this notebook\n",
"\n",
"## TK - Architecture of a classification network"
Binary file not shown.
Binary file not shown.
+7
View File
@@ -22,6 +22,13 @@
"# Should print True if CUDA-enabled GPU is available, if not will print False\n",
"torch.cuda.is_available()"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {