tensorflow:: רשימת קלט
#include <ops.h>
סוג לייצוג הקלט לאופציות הדורשות רשימה של טנסורים.
תַקצִיר
בנאים והורסים | |
---|---|
InputList (const OutputList & out) המר באופן מרומז רשימת פלטים לרשימת תשומות. | |
InputList (const std::initializer_list< Input > & inputs) | |
InputList (const tensorflow::gtl::ArraySlice< Input > & inputs) | |
InputList (const std::initializer_list< Output > & out) |
תפקידים ציבוריים | |
---|---|
begin () | std::vector< Input >::iterator |
begin () const | std::vector< Input >::const_iterator |
end () | std::vector< Input >::iterator |
end () const | std::vector< Input >::const_iterator |
תפקידים ציבוריים
רשימת קלט
InputList( const OutputList & out )
המר באופן מרומז רשימת פלטים לרשימת תשומות.
זה שימושי לכתיבת קוד כגון ops::Concat(ops::Split(x, 4)).
רשימת קלט
InputList( const std::initializer_list< Input > & inputs )
רשימת קלט
InputList( const tensorflow::gtl::ArraySlice< Input > & inputs )
רשימת קלט
InputList( const std::initializer_list< Output > & out )
לְהַתְחִיל
std::vector< Input >::iterator begin()
לְהַתְחִיל
std::vector< Input >::const_iterator begin() const
סוֹף
std::vector< Input >::iterator end()
סוֹף
std::vector< Input >::const_iterator end() 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::InputList Class Reference\n\ntensorflow::InputList\n=====================\n\n`#include \u003cops.h\u003e`\n\nA type for representing the input to ops that require a list of tensors.\n\nSummary\n-------\n\n| ### Constructors and Destructors ||\n|---|---|\n| [InputList](#classtensorflow_1_1_input_list_1aab259b2307b68dc10f0f2f7a3c2b5ab9)`(const `[OutputList](/versions/r2.1/api_docs/cc/group/core#group__core_1gab449e6a3abd500c2f4ea93f9e89ba96c)` & out)` Implicitly convert a list of outputs to a list of inputs. ||\n| [InputList](#classtensorflow_1_1_input_list_1a5acf49a973cf0b63db1f9bd51ab14852)`(const std::initializer_list\u003c `[Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` \u003e & inputs)` ||\n| [InputList](#classtensorflow_1_1_input_list_1aa81b65c61d17307d71c42be89ff72c3d)`(const tensorflow::gtl::ArraySlice\u003c `[Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` \u003e & inputs)` ||\n| [InputList](#classtensorflow_1_1_input_list_1a4ad9ab5abb1a216c6b94026da43ea1e5)`(const std::initializer_list\u003c `[Output](/versions/r2.1/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output)` \u003e & out)` ||\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------|\n| [begin](#classtensorflow_1_1_input_list_1a9b532f43dda87d8790cf3ae2d66930f5)`()` | `std::vector\u003c `[Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` \u003e::iterator` |\n| [begin](#classtensorflow_1_1_input_list_1a8d3b8f204452afdc78c1abc37fb8072e)`() const ` | `std::vector\u003c `[Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` \u003e::const_iterator` |\n| [end](#classtensorflow_1_1_input_list_1a893f2fa53afefe227bbd8edced8d76aa)`()` | `std::vector\u003c `[Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` \u003e::iterator` |\n| [end](#classtensorflow_1_1_input_list_1a3e4875e643d6a902a259d0ad45a83c55)`() const ` | `std::vector\u003c `[Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` \u003e::const_iterator` |\n\nPublic functions\n----------------\n\n### InputList\n\n```gdscript\n InputList(\n const OutputList & out\n)\n``` \nImplicitly convert a list of outputs to a list of inputs.\n\nThis is useful to write code such as ops::Concat(ops::Split(x, 4)). \n\n### InputList\n\n```gdscript\n InputList(\n const std::initializer_list\u003c Input \u003e & inputs\n)\n``` \n\n### InputList\n\n```gdscript\n InputList(\n const tensorflow::gtl::ArraySlice\u003c Input \u003e & inputs\n)\n``` \n\n### InputList\n\n```gdscript\n InputList(\n const std::initializer_list\u003c Output \u003e & out\n)\n``` \n\n### begin\n\n```text\nstd::vector\u003c Input \u003e::iterator begin()\n``` \n\n### begin\n\n```gdscript\nstd::vector\u003c Input \u003e::const_iterator begin() const \n``` \n\n### end\n\n```text\nstd::vector\u003c Input \u003e::iterator end()\n``` \n\n### end\n\n```gdscript\nstd::vector\u003c Input \u003e::const_iterator end() const \n```"]]