Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
4de34a4c
Commit
4de34a4c
authored
Jan 13, 2017
by
Neal Wu
Committed by
GitHub
Jan 13, 2017
Browse files
Merge pull request #878 from Henry-E/patch-1
Update deprecated function
parents
f9baace2
16188ae2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
neural_programmer/parameters.py
neural_programmer/parameters.py
+1
-1
No files found.
neural_programmer/parameters.py
View file @
4de34a4c
...
...
@@ -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_
al
l
_variables
()
init
=
tf
.
glob
al_variables
_initializer
()
return
params
,
global_step
,
init
def
RandomUniformInit
(
self
,
shape
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment