Keras ile Dil Modellemesi için Yinelenen Sinir Ağları (RNN)
David Cecchini
Data Scientist



simpleRNN hücresi gradyan sorunları yaşayabilir.
GRU ve LSTM hücrelerinde gradyan sönmesi olmaz
# Import the layers
from tensorflow import keras
from tensorflow.keras.layers import GRU, LSTM
# Add the layers to a model
model.add(GRU(units=128, return_sequences=True, name='GRU layer'))
model.add(LSTM(units=64, return_sequences=False, name='LSTM layer'))
Keras ile Dil Modellemesi için Yinelenen Sinir Ağları (RNN)