Spec-Zone.ru › TensorFlow C++ 2.4

tensorflow::ops::Print

#include <logging_ops.h>

Печатает список тензоров.

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

Передает input в output и печатает data при оценке.

Аргументы:

  • scope: Объект Scope
  • input: Тензор, передаваемый в output
  • data: Список тензоров, которые нужно напечатать при оценке операции.

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

  • message: Строка, префикс сообщения об ошибке.
  • first_n: Выводить только первые first_n элементов. -1 отключает вывод.
  • summarize: Выводить только указанное количество элементов каждого тензора.

Возвращаемое значение:

  • Output: = Неизменённый тензор input
Конструкторы и деструкторы
Print(const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::InputList data)
Print(const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::InputList data, const Print::Attrs & attrs)
Публичные атрибуты
operation
Operation
output
::tensorflow::Output
Публичные функции
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Публичные статические функции
FirstN(int64 x)
Attrs
Message(StringPiece x)
Attrs
Summarize(int64 x)
Attrs
Структуры
tensorflow::ops::Print::Attrs

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

Публичные атрибуты

операция

Operation operation

выход

::tensorflow::Output output

Публичные функции

Print

 Print(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::InputList data
)

Print

 Print(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::InputList data,
  const Print::Attrs & attrs
)

узел

::tensorflow::Node * node() const 

оператор::tensorflow::Вход

operator::tensorflow::Input() const 

оператор::tensorflow::Выход

operator::tensorflow::Output() const 

Публичные статические функции

FirstN

Attrs FirstN(
  int64 x
)

Сообщение

Attrs Message(
  StringPiece x
)

Сводка

Attrs Summarize(
  int64 x
)

© 2020 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.4/api_docs/cc/class/tensorflow/ops/print

Spec-Zone.ru

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