Spec-Zone.ru › TensorFlow C++ 2.9

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
Operation
output
::tensorflow::Output
Общедоступные функции
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Общедоступные статические функции
Encoding(StringPiece x)
Attrs
Структуры
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 

Общедоступные статические функции

Кодировка

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/versions/r2.9/api_docs/cc/class/tensorflow/ops/string-lower

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API