Description Usage Arguments Value Note Examples
See https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/while_loop for additional details.
1 2 3 4 5 6 7 8 |
... |
Ignored, used to ensure all arguments supplied are named. |
shape_invariants |
The shape invariants for the loop variables. |
parallel_iterations |
The number of iterations allowed to run in parallel. It must be a positive integer. |
back_prop |
Deprecated (optional). |
swap_memory |
Whether GPU-CPU memory swap is enabled for this loop. |
maximum_iterations |
Optional maximum number of iterations of the while
loop to run. If provided, the |
‘NULL“ invisibly, called for it’s side effect.
Use ag_name()
to supply name
and ag_loop_vars()
to supply
loop_vars
directly.
This is only applicable when autograph in graph mode, otherwise this has no effect.
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.