Skip to content

Commit 7692c64

Browse files
committed
small typo fix in nb 16, minitot_batch_length -> mini_batch_length
1 parent 9706774 commit 7692c64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/ch16/ch16.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1633,7 +1633,7 @@
16331633
"def reshape_data(sequence, batch_size, num_steps):\n",
16341634
" mini_batch_length = batch_size * num_steps\n",
16351635
" num_batches = int(len(sequence) / mini_batch_length)\n",
1636-
" if num_batches*minitot_batch_length + 1 > len(sequence):\n",
1636+
" if num_batches*mini_batch_length + 1 > len(sequence):\n",
16371637
" num_batches = num_batches - 1\n",
16381638
" ## Truncate the sequence at the end to get rid of \n",
16391639
" ## remaining charcaters that do not make a full batch\n",
@@ -2866,7 +2866,7 @@
28662866
"name": "python",
28672867
"nbconvert_exporter": "python",
28682868
"pygments_lexer": "ipython3",
2869-
"version": "3.6.4"
2869+
"version": "3.6.6"
28702870
},
28712871
"toc": {
28722872
"nav_menu": {},

0 commit comments

Comments
 (0)