tensorflow::ops::TensorSummary::Attrs

#include <logging_ops.h>

Optional attribute setters for TensorSummary.

Summary

Public attributes
description_ = ""
StringPiece
display_name_ = ""
StringPiece
labels_ = {}
gtl::ArraySlice<::tensorflow::tstring>
Public functions
Description(StringPiece x)
TF_MUST_USE_RESULT Attrs
A json-encoded SummaryDescription proto.
DisplayName(StringPiece x)
TF_MUST_USE_RESULT Attrs
An unused string.
Labels(const gtl::ArraySlice<::tensorflow::tstring> & x)
TF_MUST_USE_RESULT Attrs
An unused list of strings.

Public attributes

description_

StringPiece tensorflow::ops::TensorSummary::Attrs::description_ = ""

display_name_

StringPiece tensorflow::ops::TensorSummary::Attrs::display_name_ = ""

labels_

gtl::ArraySlice tensorflow::ops::TensorSummary::Attrs::labels_ = {}

Public functions

Description

TF_MUST_USE_RESULT Attrs tensorflow::ops::TensorSummary::Attrs::Description(
  StringPiece x
)

A json-encoded SummaryDescription proto.

Defaults to ""

DisplayName

TF_MUST_USE_RESULT Attrs tensorflow::ops::TensorSummary::Attrs::DisplayName(
  StringPiece x
)

An unused string.

Defaults to ""

Labels

TF_MUST_USE_RESULT Attrs tensorflow::ops::TensorSummary::Attrs::Labels(
  const gtl::ArraySlice & x
)

An unused list of strings.

Defaults to []

© 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/struct/tensorflow/ops/tensor-summary/attrs