Skip to content

Commit

Permalink
Deprecated tf.random_normal to tf.random.normal in unidirectional_seq…
Browse files Browse the repository at this point in the history
…uence_lstm_test
  • Loading branch information
siju-samuel committed Jul 8, 2019
1 parent 8e8ce66 commit b2d4be9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ def buildModel(self, lstm_layer, is_dynamic_rnn):
"""
# Weights and biases for output softmax layer.
out_weights = tf.Variable(
tf.random_normal([self.num_units, self.n_classes]))
out_bias = tf.Variable(tf.random_normal([self.n_classes]))
tf.random.normal([self.num_units, self.n_classes]))
out_bias = tf.Variable(tf.random.normal([self.n_classes]))

# input image placeholder
x = tf.placeholder(
Expand Down

0 comments on commit b2d4be9

Please sign in to comment.