Spec-Zone.ru › TensorFlow C++ 2.9

tensorflow::ops::StringUpper

#include <string_ops.h>

Преобразует все символы строчных букв в соответствующие заглавные символы.

Краткое описание

Пример:

tf.strings.upper("CamelCase string and ALL CAPS")

Аргументы:

  • scope: Объект Scope
  • input: Входные данные для преобразования в верхний регистр.

Необязательные атрибуты (см. Attrs):

  • encoding: Кодировка символов input. Допустимые значения: '' и 'utf-8'. Значение '' интерпретируется как ASCII.

Возвращает:

  • Output: Выходной тензор.
Конструкторы и деструкторы
StringUpper(const ::tensorflow::Scope & scope, ::tensorflow::Input input)
StringUpper(const ::tensorflow::Scope & scope, ::tensorflow::Input input, const StringUpper::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::StringUpper::Attrs

Необязательные установщики атрибутов для StringUpper.

Общедоступные атрибуты

operation

Operation operation

output

::tensorflow::Output output

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

StringUpper

 StringUpper(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input
)

StringUpper

 StringUpper(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  const StringUpper::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-upper

Spec-Zone.ru

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