Deprecated tf.random_normal to tf.random.normal in unidirectional_sequence_rnn_test
This commit is contained in:
parent
b2d4be96de
commit
7a193942cd
@ -79,8 +79,8 @@ class UnidirectionalSequenceRnnTest(test_util.TensorFlowTestCase):
|
|||||||
"""
|
"""
|
||||||
# Weights and biases for output softmax layer.
|
# Weights and biases for output softmax layer.
|
||||||
out_weights = tf.Variable(
|
out_weights = tf.Variable(
|
||||||
tf.random_normal([self.num_units, self.n_classes]))
|
tf.random.normal([self.num_units, self.n_classes]))
|
||||||
out_bias = tf.Variable(tf.random_normal([self.n_classes]))
|
out_bias = tf.Variable(tf.random.normal([self.n_classes]))
|
||||||
|
|
||||||
# input image placeholder
|
# input image placeholder
|
||||||
x = tf.placeholder(
|
x = tf.placeholder(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user