Trading, Quant, Recurrent Neural Network, Machine Learning, Stock Market.
off for training/inference keep_prob = tf.placeholder(tf.float32) # Run the data through the RNN layers batch_size = tf.shape(inputs)[0] initial_state = tf.zeros([batch_size, num_layers * size]) cell = tf.contrib.rnn.MultiRNNCell([gru_cell(size) for _ in range(num_layers)], state_is_tuple=False)