mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-02-03 05:27:50 +01:00
Correct small coding typo
This commit is contained in:
@@ -1383,7 +1383,7 @@
|
|||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"def string_to_ids(s, chars=POSSIBLE_CHARS):\n",
|
"def string_to_ids(s, chars=POSSIBLE_CHARS):\n",
|
||||||
" return [POSSIBLE_CHARS.index(c) for c in s]"
|
" return [chars.index(c) for c in s]"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user