Spec-Zone.ru › TensorFlow C++ 2.3

tensorflow::ops::StringFormat

#include <string_ops.h>

Форматирует шаблон строки с помощью списка тензоров.

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

Форматирует шаблон строки с помощью списка тензоров, выводя краткое описание тензоров.

Аргументы:

  • scope: Объект Scope
  • inputs: Список тензоров для форматирования в шаблон строки.

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

  • template_: Строка, шаблон для форматирования кратких описаний тензоров.
  • placeholder: Строка, в каждом местезаполнителе в шаблоне будет вставлено краткое описание последующего тензора.
  • summarize: При форматировании кратких описаний тензоров печатать первые и последние элементы каждого измерения тензора.

Возвращает:

  • Output: = Результирующая скалярная строка.
Конструкторы и деструкторы
StringFormat(const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs)
StringFormat(const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs, const StringFormat::Attrs & attrs)
Общедоступные атрибуты
operation
Operation
output
::tensorflow::Output
Общедоступные функции
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Общедоступные статические функции
Placeholder(StringPiece x)
Attrs
Summarize(int64 x)
Attrs
Template(StringPiece x)
Attrs
Структуры
tensorflow::ops::StringFormat::Attrs

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

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

operation

Operation operation

output

::tensorflow::Output output

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

StringFormat

 StringFormat(
  const ::tensorflow::Scope & scope,
  ::tensorflow::InputList inputs
)

StringFormat

 StringFormat(
  const ::tensorflow::Scope & scope,
  ::tensorflow::InputList inputs,
  const StringFormat::Attrs & attrs
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

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

Placeholder

Attrs Placeholder(
  StringPiece x
)

Summarize

Attrs Summarize(
  int64 x
)

Шаблон

Attrs Template(
  StringPiece x
)

© 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-format

Spec-Zone.ru

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