Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[],[],null,["# Control Flow Ops\n================\n\nSummary\n-------\n\n| ### Classes ||\n|----------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------|\n| [tensorflow::ops::Abort](/versions/r2.14/api_docs/cc/class/tensorflow/ops/abort) | Raise a exception to abort the process when called. |\n| [tensorflow::ops::ControlTrigger](/versions/r2.14/api_docs/cc/class/tensorflow/ops/control-trigger) | Does nothing. |\n| [tensorflow::ops::LoopCond](/versions/r2.14/api_docs/cc/class/tensorflow/ops/loop-cond) | Forwards the input to the output. |\n| [tensorflow::ops::Merge](/versions/r2.14/api_docs/cc/class/tensorflow/ops/merge) | Forwards the value of an available tensor from `inputs` to `output`. |\n| [tensorflow::ops::NextIteration](/versions/r2.14/api_docs/cc/class/tensorflow/ops/next-iteration) | Makes its input available to the next iteration. |\n| [tensorflow::ops::RefNextIteration](/versions/r2.14/api_docs/cc/class/tensorflow/ops/ref-next-iteration) | Makes its input available to the next iteration. |\n| [tensorflow::ops::RefSelect](/versions/r2.14/api_docs/cc/class/tensorflow/ops/ref-select) | Forwards the `index`th element of `inputs` to `output`. |\n| [tensorflow::ops::RefSwitch](/versions/r2.14/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.14/api_docs/cc/class/tensorflow/ops/switch) | Forwards `data` to the output port determined by `pred`. |"]]