tensorflow:: אופס:: GetSessionTensor
#include <data_flow_ops.h>
קבל את הערך של הטנזור שצוין על ידי הידית שלו.
תַקצִיר
טיעונים:
- scope: אובייקט Scope
- handle: הידית עבור טנזור המאוחסנת במצב ההפעלה.
- dtype: סוג ערך הפלט.
החזרות:
-
Output
: הטנזור עבור הידית הנתונה.
בנאים והורסים | |
---|---|
GetSessionTensor (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, DataType dtype) |
תכונות ציבוריות | |
---|---|
operation | |
value |
תפקידים ציבוריים | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
תכונות ציבוריות
מִבצָע
Operation operation
עֵרֶך
::tensorflow::Output value
תפקידים ציבוריים
GetSessionTensor
GetSessionTensor( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, DataType dtype )
צוֹמֶת
::tensorflow::Node * node() const
מפעיל::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() 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::ops::GetSessionTensor Class Reference\n\ntensorflow::ops::GetSessionTensor\n=================================\n\n`#include \u003cdata_flow_ops.h\u003e`\n\nGet the value of the tensor specified by its handle.\n\nSummary\n-------\n\nArguments:\n\n- scope: A [Scope](/versions/r2.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- handle: The handle for a tensor stored in the session state.\n- dtype: The type of the output value.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): The tensor for the given handle.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [GetSessionTensor](#classtensorflow_1_1ops_1_1_get_session_tensor_1a128f08844c9dd6988387b680ef27c241)`(const ::`[tensorflow::Scope](/versions/r2.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` handle, DataType dtype)` ||\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_get_session_tensor_1ac52263ad5787ac6ce2af23a947e789f8) | [Operation](/versions/r2.3/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [value](#classtensorflow_1_1ops_1_1_get_session_tensor_1a371ba0f0f7a7ce91b7589c1aa0457721) | `::`[tensorflow::Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_get_session_tensor_1ad68df27fcc8a1fcf71ecdc304ca2e066)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_get_session_tensor_1a663fecdbf33e30201d8133a4e1d1232f)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_get_session_tensor_1a8b38c11d93a868ea6f48ebc5cd815bdc)`() const ` | ` ` ` ` |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### value\n\n```text\n::tensorflow::Output value\n``` \n\nPublic functions\n----------------\n\n### GetSessionTensor\n\n```gdscript\n GetSessionTensor(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input handle,\n DataType dtype\n)\n``` \n\n### node\n\n```gdscript\n::tensorflow::Node * node() const \n``` \n\n### operator::tensorflow::Input\n\n```gdscript\n operator::tensorflow::Input() const \n``` \n\n### operator::tensorflow::Output\n\n```gdscript\n operator::tensorflow::Output() const \n```"]]