how to see tensor value of a layer output in keras
问题 I have a Seq2Seq model. I am interested to print out the matrix value of the output of the encoder per iteration. So for example as the dimension of the matrix in the encoder is (?,20) and the epoch =5 and in each epoch, there are 10 iteration, I would like to see 10 matrix of the dimension (?,20) per epoch . I have gone to several links as here but it still does not print out the value matrix. With this code as mentioned in the aboved link: import keras.backend as K k_value = K.print_tensor