Change "graph-level" to "global" in docs for consistency.

The documentation for tf.random.set_seed sometimes uses "global" and sometimes
uses "graph-level" to refer to the global seed. Update the documentation for
that method to consistency refer to it as the global seed.

PiperOrigin-RevId: 345787276
Change-Id: Ia6157c526b19e68d9e19f2f1af62022ce1f92649
This commit is contained in:
Richard Uhler 2020-12-04 17:12:14 -08:00 committed by TensorFlower Gardener
parent c1e1fc899a
commit 6369d7c832

View File

@ -206,12 +206,12 @@ def set_seed(seed):
1. If neither the global seed nor the operation seed is set: A randomly
picked seed is used for this op.
2. If the graph-level seed is set, but the operation seed is not:
2. If the global seed is set, but the operation seed is not:
The system deterministically picks an operation seed in conjunction with
the graph-level seed so that it gets a unique random sequence. Within the
the global seed so that it gets a unique random sequence. Within the
same version of tensorflow and user code, this sequence is deterministic.
However across different versions, this sequence might change. If the
code depends on particular seeds to work, specify both graph-level
code depends on particular seeds to work, specify both global
and operation-level seeds explicitly.
3. If the operation seed is set, but the global seed is not set:
A default global seed and the specified operation seed are used to