July 2019
Intermediate to advanced
512 pages
19h 39m
English
Now, we will define the TensorFlow placeholders:
inputs = tf.placeholder(shape=[None, vocab_size],dtype=tf.float32, name="inputs")targets = tf.placeholder(shape=[None, vocab_size], dtype=tf.float32, name="targets")
init_state = tf.placeholder(shape=[1, hidden_size], dtype=tf.float32, name="state")
initializer = tf.random_normal_initializer(stddev=0.1)
Read now
Unlock full access