Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Sterowanie przepływem operacyjnym
Streszczenie
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-27 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-27 UTC."],[],[],null,["# Control Flow Ops\n================\n\nSummary\n-------\n\n| ### Classes ||\n|---------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------|\n| [tensorflow::ops::Abort](/versions/r2.1/api_docs/cc/class/tensorflow/ops/abort) | Raise a exception to abort the process when called. |\n| [tensorflow::ops::ControlTrigger](/versions/r2.1/api_docs/cc/class/tensorflow/ops/control-trigger) | Does nothing. |\n| [tensorflow::ops::LoopCond](/versions/r2.1/api_docs/cc/class/tensorflow/ops/loop-cond) | Forwards the input to the output. |\n| [tensorflow::ops::Merge](/versions/r2.1/api_docs/cc/class/tensorflow/ops/merge) | Forwards the value of an available tensor from `inputs` to `output`. |\n| [tensorflow::ops::NextIteration](/versions/r2.1/api_docs/cc/class/tensorflow/ops/next-iteration) | Makes its input available to the next iteration. |\n| [tensorflow::ops::RefNextIteration](/versions/r2.1/api_docs/cc/class/tensorflow/ops/ref-next-iteration) | Makes its input available to the next iteration. |\n| [tensorflow::ops::RefSelect](/versions/r2.1/api_docs/cc/class/tensorflow/ops/ref-select) | Forwards the `index`th element of `inputs` to `output`. |\n| [tensorflow::ops::RefSwitch](/versions/r2.1/api_docs/cc/class/tensorflow/ops/ref-switch) | Forwards the ref tensor `data` to the output port determined by `pred`. |\n| [tensorflow::ops::Switch](/versions/r2.1/api_docs/cc/class/tensorflow/ops/switch) | Forwards `data` to the output port determined by `pred`. |"]]