Update and fix #56

This commit is contained in:
Sylvain Gugger
2020-03-22 13:03:50 -07:00
parent 07fd07476b
commit 314266a12e
6 changed files with 40 additions and 68 deletions

View File

@@ -4003,10 +4003,25 @@
}
],
"metadata": {
"jupytext": {
"split_at_heading": true
},
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.4"
}
},
"nbformat": 4,

View File

@@ -247,7 +247,7 @@
"metadata": {},
"outputs": [],
"source": [
"opt_func = partial(Optimizer, cbs=[sgd_step])"
"opt_func = partial(Optimizer, cbs=[sgd_cb])"
]
},
{