W3cubDocs

/TensorFlow C++

tensorflow::ops::TensorSummary::Attrs

#include <logging_ops.h>

Optional attribute setters for TensorSummary.

Summary

Public attributes
description_ = ""
StringPiece
display_name_ = ""
StringPiece
labels_ = {}
gtl::ArraySlice< string >
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< string > & 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< string > 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< string > & x
)

An unused list of strings.

Defaults to []

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