เทนเซอร์โฟลว์:: ปฏิบัติการ:: สตริงสตริป

#include <string_ops.h>

ตัดช่องว่างนำหน้าและต่อท้ายออกจาก Tensor

สรุป

ข้อโต้แย้ง:

  • ขอบเขต: วัตถุ ขอบเขต
  • อินพุต: Tensor สตริงที่มีรูปร่างใดๆ

ผลตอบแทน:

  • Output : สตริง Tensor ที่มีรูปร่างเดียวกันกับอินพุต

ตัวสร้างและผู้ทำลาย

StringStrip (const :: tensorflow::Scope & scope, :: tensorflow::Input input)

คุณลักษณะสาธารณะ

operation
output

งานสาธารณะ

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

คุณลักษณะสาธารณะ

การดำเนินการ

Operation operation

เอาท์พุท

::tensorflow::Output output

งานสาธารณะ

สตริงสตริป

 StringStrip(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input
)

โหนด

::tensorflow::Node * node() const 

ตัวดำเนินการ::tensorflow::อินพุต

 operator::tensorflow::Input() const 

ตัวดำเนินการ::tensorflow::เอาต์พุต

 operator::tensorflow::Output() const