Skip to content

Commit 95cc74b

Browse files
authored
Merge pull request #207 from emptymalei/patch-1
Minor typo in quickstart.ipynb
2 parents 1e8979a + 07ca60e commit 95cc74b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/tutorials/quickstart.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@
216216
" \n",
217217
" def training_step(self, batch, batch_idx):\n",
218218
" x, y = batch \n",
219-
" t_eval, y_hat = self.model(x, t_span)\n",
219+
" t_eval, y_hat = self.model(x, self.t_span)\n",
220220
" y_hat = y_hat[-1] # select last point of solution trajectory\n",
221221
" loss = nn.CrossEntropyLoss()(y_hat, y)\n",
222222
" return {'loss': loss} \n",
@@ -1298,4 +1298,4 @@
12981298
},
12991299
"nbformat": 4,
13001300
"nbformat_minor": 5
1301-
}
1301+
}

0 commit comments

Comments
 (0)