تينسورفلو :: العمليات :: تدمير متغير مؤقت
#include <state_ops.h>
يدمر المتغير المؤقت ويعيد قيمته النهائية.
ملخص
يضبط الإخراج على قيمة Tensor المشار إليها بواسطة "ref" ، ثم يدمر المتغير المؤقت المسمى var_name. يجب تنفيذ جميع الاستخدامات الأخرى لـ 'ref' قبل هذا المرجع. يتم تحقيق ذلك عادةً عن طريق تسلسل المرجع من خلال كل مرجع تعيين ، أو باستخدام تبعيات التحكم.
إخراج القيمة النهائية للموتر المشار إليها بـ "المرجع".
الحجج:
- النطاق: كائن النطاق
- المرجع: إشارة إلى موتر المتغير المؤقت.
- var_name: اسم المتغير المؤقت ، وعادةً ما يكون اسم المتغير المؤقت " TemporaryVariable " المطابق.
عائدات:
-
Output
: قيمة موتر.
البنائين والمدمرين | |
---|---|
DestroyTemporaryVariable (const :: tensorflow::Scope & scope, :: tensorflow::Input ref, StringPiece var_name) |
السمات العامة | |
---|---|
operation | |
value |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
السمات العامة
عملية
Operation operation
القيمة
::tensorflow::Output value
الوظائف العامة
تدمير متغير مؤقت
DestroyTemporaryVariable( const ::tensorflow::Scope & scope, ::tensorflow::Input ref, StringPiece var_name )
العقدة
::tensorflow::Node * node() const
المشغل :: tensorflow :: الإدخال
operator::tensorflow::Input() const
المشغل :: Tensorflow :: Output
operator::tensorflow::Output() const
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-20 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Translation issue"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشكلة في العيّنات / التعليمات البرمجية"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]