tensorflow::ops::LoopCond
bookmark_borderbookmark
Stay organized with collections
Save and categorize content based on your preferences.
#include <control_flow_ops.h>
Forwards the input to the output.
Summary
This operator represents the loop termination condition used by the "pivot" switches of a loop.
Arguments:
- scope: A Scope object
- input: A boolean scalar, representing the branch predicate of the Switch op.
Returns:
Output
: The same tensor as input
.
Public attributes
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.
Last updated 2020-04-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2020-04-20 UTC."],[],[],null,["# tensorflow::ops::LoopCond Class Reference\n\ntensorflow::ops::LoopCond\n=========================\n\n`#include \u003ccontrol_flow_ops.h\u003e`\n\nForwards the input to the output.\n\nSummary\n-------\n\nThis operator represents the loop termination condition used by the \"pivot\" switches of a loop.\n\nArguments:\n\n- scope: A [Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- input: A boolean scalar, representing the branch predicate of the [Switch](/versions/r1.15/api_docs/cc/class/tensorflow/ops/switch#classtensorflow_1_1ops_1_1_switch) op.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): The same tensor as `input`.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [LoopCond](#classtensorflow_1_1ops_1_1_loop_cond_1a6be8a0883ff88ab1db2ec0d77c01e519)`(const ::`[tensorflow::Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input)` ||\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_loop_cond_1a5467aa1be24cfcdb0ec5b07284a7851c) | [Operation](/versions/r1.15/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [output](#classtensorflow_1_1ops_1_1_loop_cond_1a6cc2f2f893804a2e4c428cfb7dca231f) | `::`[tensorflow::Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_loop_cond_1a62cad6af676919e5ab5c395339d5fc61)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_loop_cond_1ae3da575a834758e2d6cc5f6ac492cf74)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_loop_cond_1ac9bf4c84de74cbd17a2247902b420592)`() const ` | ` ` ` ` |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### output\n\n```text\n::tensorflow::Output output\n``` \n\nPublic functions\n----------------\n\n### LoopCond\n\n```gdscript\n LoopCond(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input input\n)\n``` \n\n### node\n\n```gdscript\n::tensorflow::Node * node() const \n``` \n\n### operator::tensorflow::Input\n\n```gdscript\n operator::tensorflow::Input() const \n``` \n\n### operator::tensorflow::Output\n\n```gdscript\n operator::tensorflow::Output() const \n```"]]