W3cubDocs

/TensorFlow C++

tensorflow::ops::TensorSummary

#include <logging_ops.h>

Outputs a Summary protocol buffer with a tensor.

Summary

This op is being phased out in favor of TensorSummaryV2, which lets callers pass a tag as well as a serialized SummaryMetadata proto string that contains plugin-specific data. We will keep this op to maintain backwards compatibility.

Arguments:

  • scope: A Scope object
  • tensor: A tensor to serialize.

Optional attributes (see Attrs):

  • description: A json-encoded SummaryDescription proto.
  • labels: An unused list of strings.
  • display_name: An unused string.

Returns:

Constructors and Destructors
TensorSummary(const ::tensorflow::Scope & scope, ::tensorflow::Input tensor)
TensorSummary(const ::tensorflow::Scope & scope, ::tensorflow::Input tensor, const TensorSummary::Attrs & attrs)
Public attributes
summary
Public functions
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Public static functions
Description(StringPiece x)
DisplayName(StringPiece x)
Labels(const gtl::ArraySlice< string > & x)
Structs
tensorflow::ops::TensorSummary::Attrs

Optional attribute setters for TensorSummary.

Public attributes

summary

::tensorflow::Output summary

Public functions

TensorSummary

 TensorSummary(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input tensor
)

TensorSummary

 TensorSummary(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input tensor,
  const TensorSummary::Attrs & attrs
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

Public static functions

Description

Attrs Description(
  StringPiece x
)

DisplayName

Attrs DisplayName(
  StringPiece x
)

Labels

Attrs Labels(
  const gtl::ArraySlice< string > & x
)

© 2017 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/api_docs/cc/class/tensorflow/ops/tensor-summary.html