tensorflow::ops::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(
  const ::tensorflow::Scope & scope,
  ::tensorflow::InputList inputs
)

دمج السلاسل

 StringJoin(
  const ::tensorflow::Scope & scope,
  ::tensorflow::InputList inputs,
  const StringJoin::Attrs & attrs
)

العقدة

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

الدوال الثابتة العامة

فاصل

Attrs Separator(
  StringPiece x
)