How to get internal weights and parameters?
Keras Tensorflow ( ), (, ) tf.global_variables(). , tf.Variable:
variable_dict = dict([])
for variable in tf.global_variable():
variable_dict[variable.name] = variable
. LSTM Keras (, model.summary() , LSTM 'lstm_1') : 'lstm_1/kernel:0', 'lstm_1/recurrent_kernel:0' 'lstm_1/bias:0'. , Session Tensor Tensorflow.
: Keras ? - , , , . LSTMCell, build (, ) call (, ). , , *_i, *_f, *_c, *_o (, self.kernel_o).
?
, . , : Tensorflow - .
, , ?
, Keras Tensorflow . , .