Skip to content

Commit

Permalink
Update advanced.ipynb - removing deprecated alias (#218)
Browse files Browse the repository at this point in the history
deprecate criterion in favor of loss_fn in the documentation
  • Loading branch information
jdelpiano authored Jan 19, 2024
1 parent 25d45d6 commit a722d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/advanced.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4079,7 +4079,7 @@
" conditions=[init_val_ho], \n",
" t_min=0.0, \n",
" t_max=2*np.pi,\n",
" criterion=L1Loss(),\n",
" loss_fn=L1Loss(),\n",
")\n",
"solver.fit(\n",
" max_epochs=1000, \n",
Expand Down

0 comments on commit a722d79

Please sign in to comment.