TF-Slim adds a new scoping mechanism called "argument scope" or [arg_scope](./scopes.py). This new scope allows a user to specify one or more operations and
TF-Slim adds a new scoping mechanism called "argument scope" or [arg_scope]
(scopes.py). This new scope allows a user to specify one or more operations and
a set of arguments which will be passed to each of the operations defined in the
a set of arguments which will be passed to each of the operations defined in the
`arg_scope`. This functionality is best illustrated by example. Consider the
`arg_scope`. This functionality is best illustrated by example. Consider the
following code snippet:
following code snippet:
...
@@ -439,8 +433,7 @@ let TF-Slim know about the additional loss and let TF-Slim handle the losses.
...
@@ -439,8 +433,7 @@ let TF-Slim know about the additional loss and let TF-Slim handle the losses.
## Putting the Pieces Together
## Putting the Pieces Together
By combining TF-Slim Variables, Operations and scopes, we can write a normally
By combining TF-Slim Variables, Operations and scopes, we can write a normally
very complex network with very few lines of code. For example, the entire [VGG]
very complex network with very few lines of code. For example, the entire [VGG](https://www.robots.ox.ac.uk/~vgg/research/very_deep/) architecture can be
(https://www.robots.ox.ac.uk/~vgg/research/very_deep/) architecture can be
defined with just the following snippet:
defined with just the following snippet:
```python
```python
...
@@ -494,12 +487,9 @@ with tf.Session() as sess:
...
@@ -494,12 +487,9 @@ with tf.Session() as sess:
...
...
```
```
See [Restoring Variables]
See [Restoring Variables](https://www.tensorflow.org/versions/r0.7/how_tos/variables/index.html#restoring-variables)
and [Choosing which Variables to Save and Restore](https://www.tensorflow.org/versions/r0.7/how_tos/variables/index.html#choosing-which-variables-to-save-and-restore)
and [Choosing which Variables to Save and Restore]
sections of the [Variables](https://www.tensorflow.org/versions/r0.7/how_tos/variables/index.html) page for