()
| 63 | |
| 64 | |
| 65 | def gru2(): |
| 66 | input_ = Input(shape=(T, D)) |
| 67 | rnn = GRU(M, return_state=True, return_sequences=True) |
| 68 | x = rnn(input_) |
| 69 | |
| 70 | model = Model(inputs=input_, outputs=x) |
| 71 | o, h = model.predict(X) |
| 72 | print("o:", o) |
| 73 | print("h:", h) |
| 74 | |
| 75 | |
| 76 |
no test coverage detected