diff --git a/notes/01_pytorch_workflow_notes.md b/notes/01_pytorch_workflow_notes.md deleted file mode 100644 index 788da70..0000000 --- a/notes/01_pytorch_workflow_notes.md +++ /dev/null @@ -1,5 +0,0 @@ -# Notes - -1. In `LinearRegressionModel`, the `requires_grad` and `dtype` parameters to `torch.randn` are redundant, as `nn.Parameter` takes care of setting them. - -2. Again in `LinearRegressionModel`, the `forward` function calculates $w \cdot x + b$, but in the previous notebook, you introduced the linear function in its general form, $x \cdot A^{T} + b$. Since this example is using vectors, it doesn't matter, but it might be worth to note this difference. diff --git a/notes/02_pytorch_classification_notes.md b/notes/02_pytorch_classification_notes.md deleted file mode 100644 index 3869d25..0000000 --- a/notes/02_pytorch_classification_notes.md +++ /dev/null @@ -1,5 +0,0 @@ -# Notes - -1. In the `plot_decision_boundary` function, why use `X = X.to("cpu")` instead of `X.cpu()`? - -2. Since softmax maps large numbers to large probabilities and small numbers to small probabilities, to my understanding, it is better to predict directly using `torch.argmax` without going through softmax, as softmax is a relatively costly operation. Of course, if we're interested in the probabilities (to show confidence or top-k predictions), softmax should be used. \ No newline at end of file