Closed cmusjtuliuyuan closed 7 years ago
https://github.com/intel-analytics/BigDL-Tutorials/blob/master/notebooks/neural_networks/rnn.py#L39 Change model.add(Select(2, 28)) to model.add(Select(2, -1))
model.add(Select(2, 28))
model.add(Select(2, -1))
By this way, we can emphasize that we select the last output of RNN layer.
https://github.com/intel-analytics/BigDL-Tutorials/blob/master/notebooks/neural_networks/rnn.py#L39 Change
model.add(Select(2, 28))
tomodel.add(Select(2, -1))
By this way, we can emphasize that we select the last output of RNN layer.