Update 01_pytorch_workflow.ipynb

formula added in comment
This commit is contained in:
Nipu Chakraborty authored and GitHub committed 2023-05-18 10:42:36 +06:00
1 parent 3a52b6f9f1
commit c7e1b2e6a7
1 file changed
+1
+1
View File
@@ -220,6 +220,7 @@
"end = 1\n",
"step = 0.02\n",
"X = torch.arange(start, end, step).unsqueeze(dim=1)\n",
"#Y_i=f(X_i, \beta)+e_i",
"y = weight * X + bias\n",
"\n",
"X[:10], y[:10]"