From 3358855e0146524dddc038dffa6efcff0ff096eb Mon Sep 17 00:00:00 2001 From: Androbin Date: Sat, 6 May 2017 21:07:06 +0200 Subject: [PATCH] make usage of is_training more clear (#9730) * make usage of is_training more clear This is the continuation of #9723. * Wrap lines --- tensorflow/docs_src/community/style_guide.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tensorflow/docs_src/community/style_guide.md b/tensorflow/docs_src/community/style_guide.md index 602cb88d453..f90a6cf938d 100644 --- a/tensorflow/docs_src/community/style_guide.md +++ b/tensorflow/docs_src/community/style_guide.md @@ -162,9 +162,9 @@ operation. - `reuse`: `bool` indicator if the variable should be reused if it's present in the scope. -* Layers that behave differently during training should have: - - `is_training`: `bool` indicator if the graph is being built for training. - +* Layers that behave differently during training should take: + - `is_training`: `bool` indicator to conditionally choose different + computation paths (e.g. using `tf.cond`) during execution. Example: