LSTM(long short term memory)

🔜equations for the GRU(?)

Untitled

🔜equations for LSTM(?)

https://www.coursera.org/lecture/nlp-sequence-models/long-short-term-memory-lstm-KXoay

LSTM code에서 구현하기

tf.keras.layers.bidirectional(tf.keras.layers.LSTM(FILTERS, return_sequences=<boolean>)

LSTM을 STACK으로 쌓을 수 있음.

그러면, 마지막 bidirectional이 아닌 bidirectional에 인수 return_sequencs=True로 설정해야함.

C3_W3_Lab_1_single_layer_LSTM

imdb reviews subwords 데이터셋을 사용.

LSTM 레이어 1개 사용

  1. download imdb reviews subwords