Fix markdown rendering.
PiperOrigin-RevId: 227873426
This commit is contained in:
parent
2a3d6401a3
commit
07816cc1e1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user