tensorflow:: מִבצָע
#include <ops.h>
מייצג צומת בגרף החישוב.
תַקצִיר
בנאים והורסים | |
---|---|
Operation () | |
Operation (Node *n) |
תפקידים ציבוריים | |
---|---|
hash (int32 index) const | uint64 |
input (int32 i) const | |
input_type (int32 o) const | DataType |
node () const | Node * |
num_inputs () const | int32 |
num_outputs () const | int32 |
operator== (const Operation & other) const | bool |
output (int32 i) const | |
output_type (int32 o) const | DataType |
תפקידים ציבוריים
מִבצָע
Operation()
מִבצָע
Operation( Node *n )
בְּלִיל
uint64 hash( int32 index ) const
קֶלֶט
Output input( int32 i ) const
input_type
DataType input_type( int32 o ) const
צוֹמֶת
Node * node() const
num_inputs
int32 num_inputs() const
num_outputs
int32 num_outputs() const
מפעיל==
bool operator==( const Operation & other ) const
תְפוּקָה
Output output( int32 i ) const
output_type
DataType output_type( int32 o ) const
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[],[],null,["# tensorflow::Operation Class Reference\n\ntensorflow::Operation\n=====================\n\n`#include \u003cops.h\u003e`\n\nRepresents a node in the computation graph.\n\nSummary\n-------\n\n| ### Constructors and Destructors ||\n|---|---|\n| [Operation](#classtensorflow_1_1_operation_1affdd1229a28ca12d41c2016dc06bac9c)`()` ||\n| [Operation](#classtensorflow_1_1_operation_1a01d5e9099d2a89c48a0a2c18166bb61c)`(Node *n)` ||\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------|\n| [hash](#classtensorflow_1_1_operation_1af7eb400d7e525015a6da3564136fb2da)`(int32 index) const ` | `uint64` |\n| [input](#classtensorflow_1_1_operation_1a9c93f80be1cee24c1f85b10dc69464fc)`(int32 i) const ` | [Output](/versions/r2.0/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [input_type](#classtensorflow_1_1_operation_1a1efce29997d6aa843fb4347386a7b842)`(int32 o) const ` | `DataType` |\n| [node](#classtensorflow_1_1_operation_1a0aaad0fb0775e40848f879780892c62a)`() const ` | `Node *` |\n| [num_inputs](#classtensorflow_1_1_operation_1a6ea6441affa16d05401440d30c157554)`() const ` | `int32` |\n| [num_outputs](#classtensorflow_1_1_operation_1a314711a8e16149c0ef823e1100a3a136)`() const ` | `int32` |\n| [operator==](#classtensorflow_1_1_operation_1a59f85b71ca828099976b3f183a37203f)`(const `[Operation](/versions/r2.0/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation)` & other) const ` | `bool` |\n| [output](#classtensorflow_1_1_operation_1a3e595ca82b9830a41d5d396b93c8f160)`(int32 i) const ` | [Output](/versions/r2.0/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [output_type](#classtensorflow_1_1_operation_1a17c38a7f7d7d899e387d25bcdf967d68)`(int32 o) const ` | `DataType` |\n\nPublic functions\n----------------\n\n### Operation\n\n```text\n Operation()\n``` \n\n### Operation\n\n```scdoc\n Operation(\n Node *n\n)\n``` \n\n### hash\n\n```gdscript\nuint64 hash(\n int32 index\n) const \n``` \n\n### input\n\n```gdscript\nOutput input(\n int32 i\n) const \n``` \n\n### input_type\n\n```gdscript\nDataType input_type(\n int32 o\n) const \n``` \n\n### node\n\n```gdscript\nNode * node() const \n``` \n\n### num_inputs\n\n```gdscript\nint32 num_inputs() const \n``` \n\n### num_outputs\n\n```gdscript\nint32 num_outputs() const \n``` \n\n### operator==\n\n```gdscript\nbool operator==(\n const Operation & other\n) const \n``` \n\n### output\n\n```gdscript\nOutput output(\n int32 i\n) const \n``` \n\n### output_type\n\n```gdscript\nDataType output_type(\n int32 o\n) const \n```"]]