تدفق التوتر:: العمليات:: TensorArrayClose
#include <data_flow_ops.h>
احذف TensorArray من حاوية الموارد الخاصة به.
ملخص
يتيح ذلك للمستخدم إغلاق المورد وتحريره في منتصف الخطوة/التشغيل.
الحجج:
- النطاق: كائن النطاق
- المقبض: مقبض TensorArray (إخراج TensorArray أو TensorArrayGrad ).
العوائد:
-
Operation
التي تم إنشاؤها
البنائين والمدمرين | |
---|---|
TensorArrayClose (const :: tensorflow::Scope & scope, :: tensorflow::Input handle) |
الصفات العامة | |
---|---|
operation |
الوظائف العامة | |
---|---|
operator::tensorflow::Operation () const |
الصفات العامة
عملية
Operation operation
الوظائف العامة
TensorArrayClose
TensorArrayClose( const ::tensorflow::Scope & scope, ::tensorflow::Input handle )
المشغل::tensorflow::Operation
operator::tensorflow::Operation() const
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["# tensorflow::ops::TensorArrayClose Class Reference\n\ntensorflow::ops::TensorArrayClose\n=================================\n\n`#include \u003cdata_flow_ops.h\u003e`\n\nDelete the [TensorArray](/versions/r2.1/api_docs/cc/class/tensorflow/ops/tensor-array#classtensorflow_1_1ops_1_1_tensor_array) from its resource container.\n\nSummary\n-------\n\nThis enables the user to close and release the resource in the middle of a step/run.\n\nArguments:\n\n- scope: A [Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- handle: The handle to a [TensorArray](/versions/r2.1/api_docs/cc/class/tensorflow/ops/tensor-array#classtensorflow_1_1ops_1_1_tensor_array) (output of [TensorArray](/versions/r2.1/api_docs/cc/class/tensorflow/ops/tensor-array#classtensorflow_1_1ops_1_1_tensor_array) or [TensorArrayGrad](/versions/r2.1/api_docs/cc/class/tensorflow/ops/tensor-array-grad#classtensorflow_1_1ops_1_1_tensor_array_grad)).\n\n\u003cbr /\u003e\n\nReturns:\n\n- the created [Operation](/versions/r2.1/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation)\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [TensorArrayClose](#classtensorflow_1_1ops_1_1_tensor_array_close_1ab5ed3b657f40eaa4996badf026bfd639)`(const ::`[tensorflow::Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` handle)` ||\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_tensor_array_close_1a6f7610da9f8ff494f5d7cf3c8056953e) | [Operation](/versions/r2.1/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------------------------|---------|\n| [operator::tensorflow::Operation](#classtensorflow_1_1ops_1_1_tensor_array_close_1a20f4809d157b1a557f5cd925131fedf2)`() const ` | ` ` ` ` |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\nPublic functions\n----------------\n\n### TensorArrayClose\n\n```gdscript\n TensorArrayClose(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input handle\n)\n``` \n\n### operator::tensorflow::Operation\n\n```gdscript\n operator::tensorflow::Operation() const \n```"]]