Skip to content

Commit 49c55d6

Browse files
authored
Fix typo
1 parent 72ee221 commit 49c55d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Chapter1_Introduction/Ch1_Introduction_TFP.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -1207,8 +1207,8 @@
12071207
"source": [
12081208
"# Set the chain's start state.\n",
12091209
"initial_chain_state = [\n",
1210-
" tf.cast(tf.reduce_mean(count_data)) * tf.ones([], dtype=tf.float32, name=\"init_lambda1\", tf.float32),\n",
1211-
" tf.cast(tf.reduce_mean(count_data)) * tf.ones([], dtype=tf.float32, name=\"init_lambda2\", tf.float32),\n",
1210+
" tf.cast(tf.reduce_mean(count_data), tf.float32) * tf.ones([], dtype=tf.float32, name=\"init_lambda1\"),\n",
1211+
" tf.cast(tf.reduce_mean(count_data), tf.float32) * tf.ones([], dtype=tf.float32, name=\"init_lambda2\", tf.float32),\n",
12121212
" 0.5 * tf.ones([], dtype=tf.float32, name=\"init_tau\"),\n",
12131213
"]\n",
12141214
"\n",

0 commit comments

Comments
 (0)