テンソルフロー::作戦::印刷する

#include <logging_ops.h>

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

まとめ

inputoutputにパススルーし、評価時にdataを出力します。

引数:

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

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

  • message: エラー メッセージの文字列、プレフィックス。
  • first_n: first_n回のみログに記録します。 -1 はログ記録を無効にします。
  • summary: 各テンソルのこの数のエントリのみを出力します。

戻り値:

  • 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

出力

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

演算子::tensorflow::入力

 operator::tensorflow::Input() const 

演算子::tensorflow::出力

 operator::tensorflow::Output() const 

パブリック静的関数

最初のN

Attrs FirstN(
  int64 x
)

メッセージ

Attrs Message(
  StringPiece x
)

要約する

Attrs Summarize(
  int64 x
)