aliran tensor:: operasi:: Strip Tali
#include <string_ops.h>
Hapus spasi putih di depan dan di belakang Tensor .
Ringkasan
Argumen:
Pengembalian:
Contoh:
tf.strings.strip(["\nTensorFlow", " Pustaka python "]).numpy() array([b'TensorFlow', b'Perpustakaan python'], dtype=object)
Konstruktor dan Destruktor | |
---|---|
StringStrip (const :: tensorflow::Scope & scope, :: tensorflow::Input input) |
Atribut publik | |
---|---|
operation | |
output |
Fungsi publik | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Atribut publik
operasi
Operation operation
keluaran
::tensorflow::Output output
Fungsi publik
Strip Tali
StringStrip( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
simpul
::tensorflow::Node * node() const
operator::tensorflow::Masukan
operator::tensorflow::Input() const
operator::tensorflow::Keluaran
operator::tensorflow::Output() const