You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any reference how to restore weights of LSTM to serialize model? (e.g. to rnn SeqLSTM).
In other words how to understand which part of self.weight part corresponds to each LSTM weights part (W_i, R_i, bW_i, bR_i, W_f, R_f, bW_f, bR_f, W_o, R_o, bW_o, bR_o, W_c, R_c, bW_c, bR_c)
It is needed to run pre-learned model on CPU.
P.S. There is no cudnn.convert for this layer :(
The text was updated successfully, but these errors were encountered:
RNN:weights() and RNN:biases() return tables of tensors corresponding to each weight/bias part. Please look in the RNN.lua source and refer to cudnn manual for cudnnGetRNNLinLayerMatrixParams and cudnnGetRNNLinLayerBiasParams for information on what table member corresponds to what matrix. There is no cudnn.convert for this layer because RNN and LSTM are not part of nn package.
Is there any reference how to restore weights of LSTM to serialize model? (e.g. to rnn SeqLSTM).
In other words how to understand which part of self.weight part corresponds to each LSTM weights part (W_i, R_i, bW_i, bR_i, W_f, R_f, bW_f, bR_f, W_o, R_o, bW_o, bR_o, W_c, R_c, bW_c, bR_c)
It is needed to run pre-learned model on CPU.
P.S. There is no cudnn.convert for this layer :(
The text was updated successfully, but these errors were encountered: