tensorflow::ops::StringStrip
#include <string_ops.h>
Удаление начальных и конечных пробелов из тензора.
Краткое описание
Аргументы:
Возвращаемое значение:
Примеры:
tf.strings.strip(["\nTensorFlow", " The python library "]).numpy() массив([b'TensorFlow', b'The python library'], тип=объект)
| Конструкторы и деструкторы | |
|---|---|
StringStrip(const ::tensorflow::Scope & scope, ::tensorflow::Input input) |
| Публичные атрибуты | |
|---|---|
operation | |
output | |
| Публичные функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
Публичные атрибуты
operation
Operation operation
output
::tensorflow::Output output
Публичные функции
StringStrip
StringStrip( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/ops/string-strip