Stay organized with collections
Save and categorize content based on your preferences.
#include <ops.h>
A type for representing the input to ops that require a list of tensors.
Summary
Public functions
|
begin()
|
std::vector< Input >::iterator
|
begin() const
|
std::vector< Input >::const_iterator
|
end()
|
std::vector< Input >::iterator
|
end() const
|
std::vector< Input >::const_iterator
|
Public functions
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::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/r1.15/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/r1.15/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/r1.15/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/r1.15/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/r1.15/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/r1.15/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/r1.15/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/r1.15/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```"]]