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
operation
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<::tensorflow::tstring> & x)
Structs
tensorflow::ops::TensorSummary::Attrs

Optional attribute setters for TensorSummary.

Public attributes

operation

Operation operation

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 & x
)

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