Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Podstawowy interfejs API Tensorflow
Streszczenie
Definicje typów |
---|
OutputList | typedef std::vector< Output > Typ reprezentujący dane wyjściowe operacji, które generują więcej niż jedno wyjście, lub listę tensorów. |
Definicje typów
Lista wyników
std::vector< Output > OutputList
Typ reprezentujący dane wyjściowe operacji, które generują więcej niż jedno wyjście, lub listę tensorów.
Funkcje
Utwórz wynik z zakresem
Status CreateOutputWithScope(
string op_name,
absl::Span< const ::tensorflow::Input > inputs,
const Scope & scope,
Output *output
)
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,["# Core Tensorflow API\n===================\n\nSummary\n-------\n\n| ### Typedefs ||\n|----------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|\n| [OutputList](#group__core_1gab449e6a3abd500c2f4ea93f9e89ba96c) | typedef `std::vector\u003c Output \u003e` A type for representing the output of ops that produce more than one output, or a list of tensors. |\n\n| ### Functions ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|\n| [CreateOutputWithScope](#group__core_1gaef88caf2b9d160822f9641a621dbb5c4)`(string op_name, absl::Span\u003c const ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` \u003e inputs, const Scope & scope, Output *output)` | `Status` |\n\n| ### Classes ||\n|-----------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ClientSession](/versions/r2.3/api_docs/cc/class/tensorflow/client-session) | A [ClientSession](/versions/r2.3/api_docs/cc/class/tensorflow/client-session#classtensorflow_1_1_client_session) object lets the caller drive the evaluation of the TensorFlow graph constructed with the C++ API. |\n| [tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input) | Represents a tensor value that can be used as an operand to an [Operation](/versions/r2.3/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation). |\n| [tensorflow::InputList](/versions/r2.3/api_docs/cc/class/tensorflow/input-list) | A type for representing the input to ops that require a list of tensors. |\n| [tensorflow::Operation](/versions/r2.3/api_docs/cc/class/tensorflow/operation) | Represents a node in the computation graph. |\n| [tensorflow::Output](/versions/r2.3/api_docs/cc/class/tensorflow/output) | Represents a tensor value produced by an [Operation](/versions/r2.3/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation). |\n| [tensorflow::Scope](/versions/r2.3/api_docs/cc/class/tensorflow/scope) | A [Scope](/versions/r2.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object represents a set of related TensorFlow ops that have the same properties such as a common name prefix. |\n| [tensorflow::TensorBuffer](/versions/r2.3/api_docs/cc/class/tensorflow/tensor-buffer) | |\n\nTypedefs\n--------\n\n### OutputList\n\n```text\nstd::vector\u003c Output \u003e OutputList\n``` \nA type for representing the output of ops that produce more than one output, or a list of tensors.\n\nFunctions\n---------\n\n### CreateOutputWithScope\n\n```gdscript\nStatus CreateOutputWithScope(\n string op_name,\n absl::Span\u003c const ::tensorflow::Input \u003e inputs,\n const Scope & scope,\n Output *output\n)\n```"]]