تينسورفلو :: العمليات :: تنسيق StringFormat
#include <string_ops.h>
ينسق قالب سلسلة باستخدام قائمة الموترات.
ملخص
ينسق قالب سلسلة باستخدام قائمة الموترات ، وطباعة ملخصات موتر جميلة.
الحجج:
- النطاق: كائن النطاق
- المدخلات: قائمة الموترات المطلوب تنسيقها في سلسلة العنصر النائب.
السمات الاختيارية (انظر Attrs
):
- template_: سلسلة ، القالب المطلوب تنسيق ملخصات الموتر فيه.
- placeholder: سلسلة ، في كل عنصر نائب في القالب سيتم إدراج ملخص موتر لاحق.
- تلخيص: عند تنسيق ملخصات الموتر ، قم بطباعة أول وآخر تلخيص لإدخالات كل بُعد موتر.
عائدات:
-
Output
: = السلسلة العددية الناتجة.
البنائين والمدمرين | |
---|---|
StringFormat (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs) | |
StringFormat (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs, const StringFormat::Attrs & attrs) |
السمات العامة | |
---|---|
operation | |
output |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
وظائف ثابتة عامة | |
---|---|
Placeholder (StringPiece x) | |
Summarize (int64 x) | |
Template (StringPiece x) |
الهياكل | |
---|---|
tensorflow :: ops :: StringFormat :: Attrs | محددات السمات الاختيارية لـ StringFormat . |
السمات العامة
عملية
Operation operation
انتاج
::tensorflow::Output output
الوظائف العامة
تنسيق StringFormat
StringFormat( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs )
تنسيق StringFormat
StringFormat( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs, const StringFormat::Attrs & attrs )
العقدة
::tensorflow::Node * node() const
المشغل :: tensorflow :: الإدخال
operator::tensorflow::Input() const
المشغل :: Tensorflow :: Output
operator::tensorflow::Output() const
وظائف ثابتة عامة
عنصر نائب
Attrs Placeholder( StringPiece x )
لخص
Attrs Summarize( int64 x )
قالب
Attrs Template( StringPiece x )
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2020-04-20 (حسب التوقيت العالمي المتفَّق عليه)
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"لا يحتوي على المعلومات التي أحتاج إليها."
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"الخطوات معقدة للغاية / كثيرة جدًا."
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"المحتوى قديم."
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"ثمة مشكلة في الترجمة."
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشكلة في العيّنات / التعليمات البرمجية"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"غير ذلك"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"يسهُل فهم المحتوى."
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"ساعَدني المحتوى في حلّ مشكلتي."
},{
"type": "thumb-up",
"id": "otherUp",
"label":"غير ذلك"
}]