make usage of is_training more clear (#9730)
* make usage of is_training more clear This is the continuation of #9723. * Wrap lines
This commit is contained in:
parent
d5956e3e6a
commit
3358855e01
@ -162,9 +162,9 @@ operation.
|
|||||||
- `reuse`: `bool` indicator if the variable should be reused if
|
- `reuse`: `bool` indicator if the variable should be reused if
|
||||||
it's present in the scope.
|
it's present in the scope.
|
||||||
|
|
||||||
* Layers that behave differently during training should have:
|
* Layers that behave differently during training should take:
|
||||||
- `is_training`: `bool` indicator if the graph is being built for training.
|
- `is_training`: `bool` indicator to conditionally choose different
|
||||||
|
computation paths (e.g. using `tf.cond`) during execution.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user