संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
टेंसरफ़्लो:: संचालन
#include <ops.h>
गणना ग्राफ़ में एक नोड का प्रतिनिधित्व करता है।
सारांश
सार्वजनिक समारोह
संचालन
Operation(
Node *n
)
हैश
uint64 hash(
int32 index
) const
DataType input_type(
int32 o
) const
num_outputs
int32 num_outputs() const
ऑपरेटर==
bool operator==(
const Operation & other
) const
आउटपुट
Output output(
int32 i
) const
उत्पादन का प्रकार
DataType output_type(
int32 o
) const
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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```"]]