tensorflow::ops::Print
#include <logging_ops.h>
Печатает список тензоров.
Summary
Передает 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 | |
output | |
| Общедоступные функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
| Общедоступные статические функции | |
|---|---|
FirstN(int64 x) | |
Message(StringPiece x) | |
Summarize(int64 x) | |
| Структуры | |
|---|---|
| tensorflow::ops::Print::Attrs | Необязательные устанавливатели атрибутов для Print. |
Общедоступные атрибуты
operation
Operation operation
output
::tensorflow::Output output
Общедоступные функции
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 )
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 )
© 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/print