تينسورفلو :: العمليات :: كسلسلة
#include <string_ops.h>
يحول كل إدخال في موتر معين إلى سلاسل.
ملخص
يدعم العديد من الأنواع العددية والمنطقية.
بالنسبة إلى Unicode ، راجع البرنامج التعليمي [ https://www.tensorflow.org/tutorials/representation/unicode ] (العمل مع نص Unicode).
الحجج:
- النطاق: كائن النطاق
السمات الاختيارية (انظر Attrs
):
- الدقة: الدقة اللاحقة للعدد العشري لاستخدامها في أرقام الفاصلة العائمة. تستخدم فقط إذا كانت الدقة> -1.
- علمي: استخدم الترميز العلمي لأرقام الفاصلة العائمة.
- أقصر: استخدم أقصر تمثيل (سواء علمي أو قياسي) لأرقام الفاصلة العائمة.
- العرض: لوح الأرقام قبل العشرية بهذا العرض. ينطبق على كل من أرقام الفاصلة العائمة والأرقام الصحيحة. تستخدم فقط إذا كان العرض> -1.
- ملء: القيمة المطلوب حشوها إذا كان العرض> -1. إذا كانت فارغة ، فوط مع مسافات. القيمة النموذجية الأخرى هي "0". لا يمكن أن تكون السلسلة أطول من حرف واحد.
عائدات:
-
Output
: موتر الإخراج.
البنائين والمدمرين | |
---|---|
AsString (const :: tensorflow::Scope & scope, :: tensorflow::Input input) | |
AsString (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const AsString::Attrs & attrs) |
السمات العامة | |
---|---|
operation | |
output |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
وظائف ثابتة عامة | |
---|---|
Fill (StringPiece x) | |
Precision (int64 x) | |
Scientific (bool x) | |
Shortest (bool x) | |
Width (int64 x) |
الهياكل | |
---|---|
tensorflow :: ops :: AsString :: Attrs |
السمات العامة
عملية
Operation operation
انتاج
::tensorflow::Output output
الوظائف العامة
كسلسلة
AsString( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
كسلسلة
AsString( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const AsString::Attrs & attrs )
العقدة
::tensorflow::Node * node() const
المشغل :: tensorflow :: الإدخال
operator::tensorflow::Input() const
المشغل :: Tensorflow :: Output
operator::tensorflow::Output() const
وظائف ثابتة عامة
ملء
Attrs Fill( StringPiece x )
دقة
Attrs Precision( int64 x )
علمي
Attrs Scientific( bool x )
أقصر
Attrs Shortest( bool x )
عرض
Attrs Width( int64 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"
}]