جریان تنسور:: عملیات:: GetSessionHandleV2
#include <data_flow_ops.h>
تانسور ورودی را در وضعیت جلسه جاری ذخیره کنید.
خلاصه
استدلال ها:
- scope: یک شی Scope
- مقدار: تانسوری که باید ذخیره شود.
برمی گرداند:
-
Output
: دسته تانسور ذخیره شده در حالت جلسه، که به عنوان یک شی ResourceHandle نشان داده می شود.
سازندگان و ویرانگرها | |
---|---|
GetSessionHandleV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input value) |
صفات عمومی | |
---|---|
handle | |
operation |
توابع عمومی | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
صفات عمومی
دسته
::tensorflow::Output handle
عملیات
Operation operation
توابع عمومی
GetSessionHandleV2
GetSessionHandleV2( const ::tensorflow::Scope & scope, ::tensorflow::Input value )
گره
::tensorflow::Node * node() const
عملگر::tensorflow::ورودی
operator::tensorflow::Input() const
عملگر::tensorflow::خروجی
operator::tensorflow::Output() const
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-26 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-26 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# tensorflow::ops::GetSessionHandleV2 Class Reference\n\ntensorflow::ops::GetSessionHandleV2\n===================================\n\n`#include \u003cdata_flow_ops.h\u003e`\n\nStore the input tensor in the state of the current session.\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- value: The tensor to be stored.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): The handle for the tensor stored in the session state, represented as a ResourceHandle object.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [GetSessionHandleV2](#classtensorflow_1_1ops_1_1_get_session_handle_v2_1a83ffbda1b62173f044e96955ae678880)`(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)` value)` ||\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [handle](#classtensorflow_1_1ops_1_1_get_session_handle_v2_1a54ceabe4d3565fd799d461489dae98ea) | `::`[tensorflow::Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [operation](#classtensorflow_1_1ops_1_1_get_session_handle_v2_1a4d5a7410f0f674436b4b6fa42bbf042d) | [Operation](/versions/r2.3/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_get_session_handle_v2_1aad50f95a9db3eae37bd8c41627e1251c)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_get_session_handle_v2_1aa9e08d3fc80a78cc8546c0dbd9d033cc)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_get_session_handle_v2_1a74a92faff5a66e5c4666a6997c11c4c4)`() const ` | ` ` ` ` |\n\nPublic attributes\n-----------------\n\n### handle\n\n```text\n::tensorflow::Output handle\n``` \n\n### operation\n\n```text\nOperation operation\n``` \n\nPublic functions\n----------------\n\n### GetSessionHandleV2\n\n```gdscript\n GetSessionHandleV2(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input value\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```"]]