Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Управление потоком операций
Краткое содержание
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-27 UTC.
[null,null,["Последнее обновление: 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`. |"]]