Fix markdown rendering.

PiperOrigin-RevId: 227873426
This commit is contained in:
A. Unique TensorFlower 2019-01-04 10:09:49 -08:00 committed by TensorFlower Gardener
parent 2a3d6401a3
commit 07816cc1e1

View File

@ -306,6 +306,7 @@ class Variable(six.with_metaclass(VariableMetaclass,
Here replacing adding `use_resource=True` when constructing the variable will
fix any nondeterminism issues:
```
v = tf.Variable(True, use_resource=True)
tf.cond(v, lambda: v.assign(False), my_false_fn)