Spec-Zone.ru › TensorFlow C++ 1.15

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
)

Template

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/r1.15/api_docs/cc/class/tensorflow/ops/string-format

Spec-Zone.ru

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