Skip to content

Commit 07ca60e

Browse files
authored
var in quickstart.ipynb
t_span -> self.t_span
1 parent 1e8979a commit 07ca60e

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)