تدفق التوتر:: العمليات:: StringJoin
#include <string_ops.h>
يجمع السلاسل الموجودة في القائمة المحددة لموترات السلسلة في موتر واحد؛.
ملخص
بالفاصل المحدد (الافتراضي هو فاصل فارغ).
أمثلة:
s = ["hello"، "world"، "tensorflow"] tf.strings.join(s, " ")
الحجج:
- النطاق: كائن النطاق
- المدخلات: قائمة موترات السلسلة. يجب أن يكون لجميع الموترات نفس الشكل، أو أن تكون عددًا. قد يتم خلط الكميات؛ سيتم بثها على شكل مدخلات غير عددية.
السمات الاختيارية (انظر Attrs
):
- الفاصل: سلسلة، فاصل ربط اختياري.
العوائد:
-
Output
: موتر الإخراج.
البنائين والمدمرين | |
---|---|
StringJoin (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs) | |
StringJoin (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs, const StringJoin::Attrs & attrs) |
الصفات العامة | |
---|---|
operation | |
output |
الوظائف العامة | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
وظائف ثابتة العامة | |
---|---|
Separator (StringPiece x) |
الهياكل | |
---|---|
Tensorflow:: ops:: StringJoin:: Attrs | محددات السمات الاختيارية لـ StringJoin . |
الصفات العامة
عملية
Operation operation
الإخراج
::tensorflow::Output output
الوظائف العامة
StringJoin
StringJoin( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs )
StringJoin
StringJoin( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs, const StringJoin::Attrs & attrs )
العقدة
::tensorflow::Node * node() const
المشغل::tensorflow::الإدخال
operator::tensorflow::Input() const
المشغل::tensorflow::الإخراج
operator::tensorflow::Output() const
وظائف ثابتة العامة
فاصل
Attrs Separator( StringPiece x )