تينسورفلو :: العمليات :: عامل
#include <state_ops.h>
يحمل الحالة في شكل موتر يستمر عبر الخطوات.
ملخص
يخرج المرجع إلى حالة التنسور بحيث يمكن قراءته أو تعديله. TODO (zhifengc / mrry): يضيف مؤشرًا إلى مستند أكثر تفصيلاً حول حالات المشاركة في tensorflow.
الحجج:
- النطاق: كائن النطاق
- الشكل: شكل موتر المتغير.
- dtype: نوع العناصر في موتر المتغير.
السمات الاختيارية (انظر Attrs
):
- الحاوية: إذا لم تكن فارغة ، فسيتم وضع هذا المتغير في الحاوية المحددة. خلاف ذلك ، يتم استخدام حاوية افتراضية.
- Shared_name: إذا لم يكن فارغًا ، فسيتم تسمية هذا المتغير في المستودع المحدد بالاسم_المشترك هذا. وإلا ، فسيتم استخدام اسم العقدة بدلاً من ذلك.
عائدات:
-
Output
: إشارة إلى موتر متغير.
البنائين والمدمرين | |
---|---|
Variable (const :: tensorflow::Scope & scope, PartialTensorShape shape, DataType dtype) | |
Variable (const :: tensorflow::Scope & scope, PartialTensorShape shape, DataType dtype, const Variable::Attrs & attrs) |
السمات العامة | |
---|---|
operation | |
ref |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
وظائف ثابتة عامة | |
---|---|
Container (StringPiece x) | |
SharedName (StringPiece x) |
الهياكل | |
---|---|
tensorflow :: العمليات :: متغير :: Attrs | اضعي السمة الاختيارية لل متغير . |
السمات العامة
عملية
Operation operation
المرجع
::tensorflow::Output ref
الوظائف العامة
عامل
Variable( const ::tensorflow::Scope & scope, PartialTensorShape shape, DataType dtype )
عامل
Variable( const ::tensorflow::Scope & scope, PartialTensorShape shape, DataType dtype, const Variable::Attrs & attrs )
العقدة
::tensorflow::Node * node() const
المشغل :: tensorflow :: الإدخال
operator::tensorflow::Input() const
المشغل :: Tensorflow :: Output
operator::tensorflow::Output() const
وظائف ثابتة عامة
وعاء
Attrs Container( StringPiece x )
SharedName
Attrs SharedName( StringPiece x )
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"
}]