I want to print all variables and placeholders in Tensorflow -
i run sample code recurrent_network.py.
i wish print x, it's placehoder. in function: rnn(x, weights, biases):
what can do?
key point:
x = tf.transpose(x, [1, 0, 2]) # reshaping (n_steps*batch_size, n_input) x = tf.reshape(x, [-1, n_input]) # split list of 'n_steps' tensors of shape (batch_size, n_input) x = tf.split(0, n_steps, x)
please see post details. use tf.print() myself.
Comments
Post a Comment