Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
#include <ops.h>
Typ reprezentujący dane wejściowe do operacji wymagających listy tensorów.
Streszczenie
Funkcje publiczne |
---|
begin () | std::vector< Input >::iterator |
begin () const | std::vector< Input >::const_iterator |
end () | std::vector< Input >::iterator |
end () const | std::vector< Input >::const_iterator |
Funkcje publiczne
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 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```"]]