Commit 4de34a4c authored by Neal Wu's avatar Neal Wu Committed by GitHub
Browse files

Merge pull request #878 from Henry-E/patch-1

Update deprecated function
parents f9baace2 16188ae2
......@@ -72,7 +72,7 @@ class Parameters:
self.RandomUniformInit([1, embedding_dims]))
params["break_conditional"] = tf.Variable(
self.RandomUniformInit([2 * embedding_dims, embedding_dims]))
init = tf.initialize_all_variables()
init = tf.global_variables_initializer()
return params, global_step, init
def RandomUniformInit(self, shape):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment