tensorflow:: ops:: StringStrip

#include <string_ops.h>

テンソルから先頭と末尾の空白文字を削除します。

まとめ

議論:

返品:

例:

tf.strings.strip(["\nTensorFlow", " The python library "]).numpy() array([b'TensorFlow', b'The python library'], dtype=object)

コンストラクターとデストラクタ

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 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const