Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
seminar-breakout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
seminar-breakout
Commits
55603b75
Commit
55603b75
authored
Nov 20, 2018
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update docs
parent
c7158c84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/tutorial/trainer.md
docs/tutorial/trainer.md
+1
-1
No files found.
docs/tutorial/trainer.md
View file @
55603b75
...
@@ -45,7 +45,7 @@ The tower function needs to follow some rules:
...
@@ -45,7 +45,7 @@ The tower function needs to follow some rules:
*
(Recommended) Put non-trainable variables that need to be used in inference into
`MODEL_VARIABLES`
.
*
(Recommended) Put non-trainable variables that need to be used in inference into
`MODEL_VARIABLES`
.
3.
It must __respect variable scopes__:
3.
It must __respect variable scopes__:
*
The name of any trainable variables created in the function must be like "variable_scope_name/custom/scopes/name".
*
The name of any trainable variables created in the function must be like "variable_scope_name/custom/scopes/name".
Don't depend on name_scope's name. Don't use variable_scope's name twice.
Don't depend on name_scope's name. Don't
depend on some tensor's name. Don't
use variable_scope's name twice.
*
The creation of any trainable variables must __respect reuse__ variable scope.
*
The creation of any trainable variables must __respect reuse__ variable scope.
To respect variable reuse (i.e. sharing), use
`tf.get_variable`
instead of
`tf.Variable`
in the function.
To respect variable reuse (i.e. sharing), use
`tf.get_variable`
instead of
`tf.Variable`
in the function.
...
...
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