Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
przepływ tensorowy:: Wyjście
#include <ops.h>
Reprezentuje wartość tensora utworzoną przez Operation .
Streszczenie
Funkcje publiczne
Wyjście
Output(
Node *n
)
Wyjście
Output(
Node *n,
int32 index
)
Wyjście
Output(
const Operation & op,
int32 index
)
haszysz
uint64 hash() const
indeks
int32 index() const
nazwa
string name() const
węzeł
Node * node() const
operator==
bool operator==(
const Output & other
) const
typ
DataType type() const
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::Output Class Reference\n\ntensorflow::Output\n==================\n\n`#include \u003cops.h\u003e`\n\nRepresents a tensor value produced by an [Operation](/versions/r2.0/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation).\n\nSummary\n-------\n\n| ### Constructors and Destructors ||\n|---|---|\n| [Output](#classtensorflow_1_1_output_1a0d2121a99a3d4ed318c7cf9e37e76f8c)`()` ||\n| [Output](#classtensorflow_1_1_output_1a91c6476c6569576149e3fa6cb536ed81)`(Node *n)` ||\n| [Output](#classtensorflow_1_1_output_1a8f5b7c292879d5d3ab0b98ad1cc50b76)`(Node *n, int32 index)` ||\n| [Output](#classtensorflow_1_1_output_1ac6c4e7afc62ac73a65cfb061d4417f92)`(const `[Operation](/versions/r2.0/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation)` & op, int32 index)` ||\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|\n| [hash](#classtensorflow_1_1_output_1a979abb35b45c059dba3b8d1a1e9f508c)`() const ` | `uint64` |\n| [index](#classtensorflow_1_1_output_1a9024b918efa6c8efb17edc042bc2b380)`() const ` | `int32` |\n| [name](#classtensorflow_1_1_output_1af18ceff946c1682acfd405fa4cc7a205)`() const ` | `string` |\n| [node](#classtensorflow_1_1_output_1a7d04f2b1831c26f99bd63157337bee14)`() const ` | `Node *` |\n| [op](#classtensorflow_1_1_output_1ab169b934723369ebfbe40efc83f9898a)`() const ` | [Operation](/versions/r2.0/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [operator==](#classtensorflow_1_1_output_1a10c4ecbacf9f27e13b8d59ed03d24a81)`(const `[Output](/versions/r2.0/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output)` & other) const ` | `bool` |\n| [type](#classtensorflow_1_1_output_1add42877fc0530856b137985d9987e9a9)`() const ` | `DataType` |\n\nPublic functions\n----------------\n\n### Output\n\n```text\n Output()=default\n``` \n\n### Output\n\n```scdoc\n Output(\n Node *n\n)\n``` \n\n### Output\n\n```scdoc\n Output(\n Node *n,\n int32 index\n)\n``` \n\n### Output\n\n```gdscript\n Output(\n const Operation & op,\n int32 index\n)\n``` \n\n### hash\n\n```gdscript\nuint64 hash() const \n``` \n\n### index\n\n```gdscript\nint32 index() const \n``` \n\n### name\n\n```gdscript\nstring name() const \n``` \n\n### node\n\n```gdscript\nNode * node() const \n``` \n\n### op\n\n```gdscript\nOperation op() const \n``` \n\n### operator==\n\n```gdscript\nbool operator==(\n const Output & other\n) const \n``` \n\n### type\n\n```gdscript\nDataType type() const \n```"]]