tensorflow:: אופס:: LoopCond
#include <control_flow_ops.h>
מעביר את הקלט לפלט.
תַקצִיר
אופרטור זה מייצג את מצב סיום הלולאה המשמש את מתגי ה"ציר" של לולאה.
טיעונים:
החזרות:
-
Output
: אותו טנסור כמוinput
.
בנאים והורסים | |
---|---|
LoopCond (const :: tensorflow::Scope & scope, :: tensorflow::Input input) |
תכונות ציבוריות | |
---|---|
operation | |
output |
תפקידים ציבוריים | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
תכונות ציבוריות
מִבצָע
Operation operation
תְפוּקָה
::tensorflow::Output output
תפקידים ציבוריים
LoopCond
LoopCond( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
צוֹמֶת
::tensorflow::Node * node() const
מפעיל::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון 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/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- input: A boolean scalar, representing the branch predicate of the [Switch](/versions/r2.1/api_docs/cc/class/tensorflow/ops/switch#classtensorflow_1_1ops_1_1_switch) op.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.1/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/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.1/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/r2.1/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [output](#classtensorflow_1_1ops_1_1_loop_cond_1a6cc2f2f893804a2e4c428cfb7dca231f) | `::`[tensorflow::Output](/versions/r2.1/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```"]]