Spec-Zone.ru › TensorFlow C++ 2.9

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 operation

output

::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
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

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

FirstN

Attrs FirstN(
  int64 x
)

Message

Attrs Message(
  StringPiece x
)

Summarize

Attrs Summarize(
  int64 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/print

Spec-Zone.ru

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