tensorflow::ops::StringLower
#include <string_ops.h>
Преобразует все символы верхнего регистра в соответствующие им символы нижнего регистра.
Краткое описание
Пример:
tf.strings.lower("CamelCase string and ALL CAPS")
Аргументы:
- scope: объект Scope
- input: Входные данные, которые нужно преобразовать в нижний регистр.
Необязательные атрибуты (см. Attrs):
- encoding: Кодировка символов для
input. Допустимые значения: '' и 'utf-8'. Значение '' интерпретируется как ASCII.
Возвращает:
-
Output: Выходной тензор.
| Конструкторы и деструкторы | |
|---|---|
StringLower(const ::tensorflow::Scope & scope, ::tensorflow::Input input) | |
StringLower(const ::tensorflow::Scope & scope, ::tensorflow::Input input, const StringLower::Attrs & attrs) |
| Открытые атрибуты | |
|---|---|
operation | |
output | |
| Открытые функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
| Открытые статические функции | |
|---|---|
Encoding(StringPiece x) | |
| Структуры | |
|---|---|
| tensorflow::ops::StringLower::Attrs | Методы задания необязательных атрибутов для StringLower. |
Открытые атрибуты
operation
Operation operation
output
::tensorflow::Output output
Открытые функции
StringLower
StringLower( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
StringLower
StringLower( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const StringLower::Attrs & attrs )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Открытые статические функции
Encoding
Attrs Encoding( StringPiece x )
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/string-lower