gru_out = Bidirectional(GRU(hiddenlayer_num, return_sequences=True))(embedded)
I use Keras to create a GRU model. I want to collect information from all the vectors of a GRU model node instead of the last node. For example, I need to get the maximum value of each vector, as well as the description of the image, but I don’t know how to do it.

source
share