Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::Output
#include <ops.h>
Represents a tensor value produced by an Operation.
Summary
Public functions
Output
Output(
Node *n,
int32_t index
)
Output
Output(
const Operation & op,
int32_t index
)
index
int32 index() const
name
std::string name() const
operator==
bool operator==(
const Output & other
) const
type
DataType type() const
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. Some content is licensed under the numpy license.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 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.14/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_1af38c71f4b32909a9b4608a4086715ea5)`(Node *n, int32_t index)` ||\n| [Output](#classtensorflow_1_1_output_1a49ee55a8cd3772467564a9e123875e6f)`(const `[Operation](/versions/r2.14/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation)` & op, int32_t 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_1a5942b69be4601aaa3cc5730d686035ff)`() const ` | `std::string` |\n| [node](#classtensorflow_1_1_output_1a7d04f2b1831c26f99bd63157337bee14)`() const ` | `Node *` |\n| [op](#classtensorflow_1_1_output_1ab169b934723369ebfbe40efc83f9898a)`() const ` | [Operation](/versions/r2.14/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [operator==](#classtensorflow_1_1_output_1a10c4ecbacf9f27e13b8d59ed03d24a81)`(const `[Output](/versions/r2.14/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_t index\n)\n``` \n\n### Output\n\n```gdscript\n Output(\n const Operation & op,\n int32_t 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\nstd::string 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```"]]