tensorflow:: ops:: Print

#include <logging_ops.h>

テンソルのリストを出力します。

まとめ

inputそのままoutputに渡し、評価時にdataを出力します。

議論:

  • スコープ:スコープオブジェクト
  • 入力: outputに渡されるテンソル
  • data: op が評価されたときに出力するテンソルのリスト。

オプション属性( Attrs参照):

  • message: エラーメッセージの接頭辞となる文字列。
  • first_n: first_n回数だけログに記録します。-1を指定するとログ記録が無効になります。
  • 要約:各テンソルのエントリをこの数だけ出力します。

返品:

  • 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

印刷用のオプション属性セッター。

公開属性

手術

Operation operation

出力

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

ノード

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

パブリック静的関数

ファーストN

Attrs FirstN(
  int64 x
)

メッセージ

Attrs Message(
  StringPiece x
)

要約する

Attrs Summarize(
  int64 x
)