tensorflow::ops::StringJoin

#include <string_ops.h>

รวมสตริงในรายการเทนเซอร์สตริงที่กำหนดเข้าเป็นเทนเซอร์เดียว

สรุป

โดยใช้ตัวคั่นที่กำหนด (ค่าเริ่มต้นคือตัวคั่นว่างเปล่า)

ข้อโต้แย้ง:

  • ขอบเขต: วัตถุ ขอบเขต
  • อินพุต: รายการของเทนเซอร์สตริง เทนเซอร์ทั้งหมดต้องมีรูปร่างเดียวกัน หรือเป็นค่าสเกลาร์ สามารถผสมค่าสเกลาร์เข้าไปได้ โดยค่าสเกลาร์เหล่านั้นจะถูกกระจายไปยังรูปร่างของอินพุตที่ไม่ใช่ค่าสเกลาร์

คุณลักษณะเสริม (ดูที่ 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() const 

ตัวดำเนินการ::เทนเซอร์โฟลว์::เอาต์พุต

 operator::tensorflow::Output() const 

ฟังก์ชันคงที่สาธารณะ

ตัวคั่น

Attrs Separator(
  StringPiece x
)