Keras LSTM的隐藏和细胞状态

时间:2018-05-05 14:20:33

标签: keras lstm

我想打印出Keras LSTM的隐藏和单元状态 与return_state = True。例如,在下面,我该怎么做 打印出state_hstate_c

inputs1 = Input(shape=(3, 1)) 
lstm1, state_h, state_c = LSTM(1, return_state=True)(inputs1)

0 个答案:

没有答案