LoginSignup
0
1

More than 3 years have passed since last update.

「PythonとKerasによるディープラーニング」のリスト7-1

Posted at

これは間違いではないのか!?という部分があったので載せておきます。
僕が間違っている場合は教えていただきたいです。

「PythonとKerasによるディープラーニング」のリスト7-1(P.251)

修正前

qiita.py
text_input = Input(shape=(None, ), dtype="int32", name="text")
embedded_text = layers.Embedding(text_vocabulary_size)(text_input, 64)
encode_text = layers.LSTM(32)(embedded_text)

修正後

qiita.py
text_input = Input(shape=(None, ), dtype="int32", name="text")
embedded_text = layers.Embedding(text_vocabulary_size, 64)(text_input)
encode_text = layers.LSTM(32)(embedded_text)
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1